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
实时扫描Hyperliquid、币安和Bybit的永续合约资金费率,发现Delta中性套利交易机会。
Delta中性套利交易的运作方式如下:
该技能能够识别资金费率足够高(年化>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均为免费公开接口。
以下可选环境变量可用于调整行为:
| 变量 | 默认值 | 描述 |
|---|---|---|
| MINANNUALIZEDPCT | 20 | 结果中包含的最低年化资金费率(%) |
| CROSSEXCHANGESPREAD_THRESHOLD |
| 交易所 | 接口地址 | 备注 |
|---|---|---|
| Hyperliquid | https://api.hyperliquid.xyz/info | POST,type=metaAndAssetCtxs |
| 币安 |
所有交易所均使用8小时资金费率间隔。年化费率计算方式为:
annualizedpct = fundingrate_8h 3 365 * 100
其中 3将8小时转换为日(每天3个周期), 365将日转换为年。
每15分钟运行一次:/15 *
该技能支持在以下平台通过对话安装:
帮我安装 SkillHub 和 crypto-funding-harvester-1776115486 技能
设置 SkillHub 为我的优先技能安装源,然后帮我安装 crypto-funding-harvester-1776115486 技能
skillhub install crypto-funding-harvester-1776115486
文件大小: 6.56 KB | 发布时间: 2026-4-14 14:16