返回顶部
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
安全检测
已通过
137
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

crypto-funding-harvester

加密货币资金费率收割机

实时扫描Hyperliquid、币安和Bybit的永续合约资金费率,发现Delta中性套利交易机会。

功能说明

Delta中性套利交易的运作方式如下:

  • - 买入现货(例如在任何交易所买入BTC)
  • 做空同一资产的永续合约
  • 净方向敞口 = 零
  • 收取多头支付给空头的资金费率
  • 纯收益,无价格风险(忽略基差风险)

该技能能够识别资金费率足够高(年化>20%)的资产,在扣除费用和资金成本后使该交易具有价值。

输出结果

结果保存至/tmp/funding_opportunities.json,结构如下:

json
{
generated_at: 2025-01-01T00:00:00.000000,
opportunities: [
{
asset: BTC,
exchange: binance,
fundingrate8h: 0.0003,
annualized_pct: 32.85,
current_price: 65000.0
}
],
crossexchangespreads: [
{
asset: BTC,
binanceannualizedpct: 32.85,
bybitannualizedpct: 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],
minannualizedthreshold_pct: 20
}
}

环境变量

无需环境变量。所有使用的API均为免费公开接口。

以下可选环境变量可用于调整行为:

变量默认值描述
MINANNUALIZEDPCT20结果中包含的最低年化资金费率(%)
CROSSEXCHANGESPREAD_THRESHOLD
10 | 币安和Bybit之间标记为跨交易所机会的最小价差(%) |
| REQUEST_TIMEOUT | 10 | HTTP请求超时时间(秒) |

交易所

交易所接口地址备注
Hyperliquidhttps://api.hyperliquid.xyz/infoPOST,type=metaAndAssetCtxs
币安
https://fapi.binance.com/fapi/v1/premiumIndex | GET,所有USDT永续合约 | | Bybit | https://api.bybit.com/v5/market/tickers | GET,category=linear |

资金费率标准化

所有交易所均使用8小时资金费率间隔。年化费率计算方式为:

annualizedpct = fundingrate_8h 3 365 * 100

其中 3将8小时转换为日(每天3个周期), 365将日转换为年。

定时任务

每15分钟运行一次:/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

下载

⬇ 下载 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
返回顶部