用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/krakenfx/kraken-cli --skill kraken-funding-carry命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Capture the spot-futures price spread with delta-neutral basis trades.
基于 SOC 职业分类
正在显示 SKILL.md
| name | kraken-funding-carry |
| version | 1.0.0 |
| description | Earn funding rate payments by positioning on the paying side of perpetuals. |
| metadata | {"openclaw":{"category":"finance"},"requires":{"bins":["kraken"],"skills":["kraken-futures-trading","kraken-futures-risk"]}} |
Use this skill for:
Perpetual futures charge periodic funding payments between longs and shorts. When the funding rate is positive, longs pay shorts. When negative, shorts pay longs. A carry strategy positions on the receiving side and hedges with spot to remain market-neutral.
kraken futures historical-funding-rates PF_XBTUSD -o json 2>/dev/null
kraken futures historical-funding-rates PF_ETHUSD -o json 2>/dev/null
Compare rates across contracts to find the highest yield.
When funding is positive (longs pay shorts):
# Hedge: buy spot
kraken order buy BTCUSD 0.01 --type market -o json 2>/dev/null
# Carry: short perpetual (collect funding)
kraken futures order sell PF_XBTUSD 1 -o json 2>/dev/null
When funding is negative (shorts pay longs):
# Carry: long perpetual (collect funding)
kraken futures order buy PF_XBTUSD 1 -o json 2>/dev/null
# Hedge: sell spot
kraken order sell BTCUSD 0.01 --type market -o json 2>/dev/null
Annualized yield = funding_rate * funding_periods_per_year * 100.
Kraken funding periods are typically every 4 or 8 hours (varies by contract). Check contract specs:
kraken futures instruments -o json 2>/dev/null
Track funding accrual:
kraken futures accounts -o json 2>/dev/null
The unrealizedFunding field shows accumulated but unsettled funding.
Watch for funding rate flips:
kraken futures historical-funding-rates PF_XBTUSD -o json 2>/dev/null
If the rate flips direction, the position switches from collecting to paying. Exit or reverse.
Close both legs when carry becomes unprofitable:
kraken futures order buy PF_XBTUSD 1 --reduce-only -o json 2>/dev/null
kraken order sell BTCUSD 0.01 --type market -o json 2>/dev/null
kraken feedback.