返回顶部
c

crypto-funding-harvester

Scans perpetual futures funding rates across Hyperliquid, Binance, and Bybit to identify delta-neutral carry trade opportunities. A delta-neutral carry trade involves going long spot and short the perpetual future on the same asset, collecting the funding rate as profit without directional price exposure. The skill normalizes all funding rates to annualized percentages, filters for high-yield opportunities above 20% APY, ranks them by profitability, detects cross-exchange arbitrage spreads, and

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
120
下载量
0
收藏
概述
安装方式
版本历史

crypto-funding-harvester

# Crypto Funding Rate Harvester Scans perpetual futures funding rates across Hyperliquid, Binance, and Bybit to surface delta-neutral carry trade opportunities in real time. ## What it does A delta-neutral carry trade works like this: - Buy spot (e.g. BTC on any exchange) - Short the perpetual future on the same asset - Net directional exposure = zero - Collect the funding rate paid by longs to shorts - Pure yield, no price risk (ignoring basis risk) This skill identifies assets where funding rates are high enough (>20% annualized) to make this trade worthwhile after accounting for fees and capital costs. ## Output Results are saved to `/tmp/funding_opportunities.json` with the following structure: ```json { "generated_at": "2025-01-01T00:00:00.000000", "opportunities": [ { "asset": "BTC", "exchange": "binance", "funding_rate_8h": 0.0003, "annualized_pct": 32.85, "current_price": 65000.0 } ], "cross_exchange_spreads": [ { "asset": "BTC", "binance_annualized_pct": 32.85, "bybit_annualized_pct": 10.95, "spread_pct": 21.9, "note": "Binance funding significantly higher than Bybit — potential cross-exchange arb" } ], "summary": { "total_opportunities": 5, "exchanges_scanned": ["hyperliquid", "binance", "bybit"], "min_annualized_threshold_pct": 20 } } ``` ## Environment Variables No environment variables are required. All APIs used are free and public. The following optional environment variables can be used to tune behavior: | Variable | Default | Description | |---|---|---| | `MIN_ANNUALIZED_PCT` | `20` | Minimum annualized funding rate (%) to include in results | | `CROSS_EXCHANGE_SPREAD_THRESHOLD` | `10` | Minimum spread (%) between Binance and Bybit to flag as a cross-exchange opportunity | | `REQUEST_TIMEOUT` | `10` | HTTP request timeout in seconds | ## Exchanges | Exchange | Endpoint | Notes | |---|---|---| | Hyperliquid | `https://api.hyperliquid.xyz/info` | POST, type=metaAndAssetCtxs | | Binance | `https://fapi.binance.com/fapi/v1/premiumIndex` | GET, all USDT perps | | Bybit | `https://api.bybit.com/v5/market/tickers` | GET, category=linear | ## Funding Rate Normalization All exchanges use 8-hour funding intervals. Annualized rate is calculated as: annualized_pct = funding_rate_8h * 3 * 365 * 100 Where `* 3` converts 8h to daily (3 periods per day) and `* 365` converts daily to annual. ## Cron Schedule Runs every 15 minutes: `*/15 * * * *`

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 crypto-funding-harvester-1776115486 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 crypto-funding-harvester-1776115486 技能

通过命令行安装

skillhub install crypto-funding-harvester-1776115486

下载 Zip 包

⬇ 下载 crypto-funding-harvester v1.0.0

文件大小: 6.56 KB | 发布时间: 2026-4-14 14:16

v1.0.0 最新 2026-4-14 14:16
Initial release: Hyperliquid+Binance+Bybit funding rates, delta-neutral carry opportunities

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部