← 返回
未分类 中文

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...
扫描Hyperliquid、Binance和Bybit的永续合约资金费率,识别Delta中性套利机会。Delta中性套利交易...
mibayy mibayy 来源
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 425
下载
💾 1
安装
1
版本
#latest

概述

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:

{
  "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:

VariableDefaultDescription
---------
MIN_ANNUALIZED_PCT20Minimum annualized funding rate (%) to include in results
CROSS_EXCHANGE_SPREAD_THRESHOLD10Minimum spread (%) between Binance and Bybit to flag as a cross-exchange opportunity
REQUEST_TIMEOUT10HTTP request timeout in seconds

Exchanges

ExchangeEndpointNotes
---------
Hyperliquidhttps://api.hyperliquid.xyz/infoPOST, type=metaAndAssetCtxs
Binancehttps://fapi.binance.com/fapi/v1/premiumIndexGET, all USDT perps
Bybithttps://api.bybit.com/v5/market/tickersGET, 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 *

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-31 00:55 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

data-analysis

AdMapix

fly0pants
AdMapix 原始数据层,提供广告创意、应用、排名、下载/收入及市场元数据。返回 AdMapix API 的结构化 JSON;调用方...
★ 297 📥 142,657
data-analysis

Tavily 搜索

jacky1n7
通过 Tavily API 进行网页搜索(Brave 替代方案)。当用户要求搜索网页、查找来源或链接,且 Brave 网页搜索不可用时使用。
★ 276 📥 101,355
data-analysis

Data Analysis

ivangdavila
{"answer":"数据分析与可视化。查询数据库、生成报告、自动化电子表格,将原始数据转化为清晰可行的见解。适用于:(1) 您……"}
★ 214 📥 71,147