/kraken-cli:kraken-funding-carryfrom kraken-cli
Scans Kraken perpetual funding rates, enters hedged carry positions to collect funding payments, and monitors ongoing yield.
Ships in kraken-cli. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
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.
Both legs are live orders on the real account, so run unset KRAKEN_WORKSPACE
first. Inside a paper workspace the spot leg fills on paper and the workspace
guard refuses the futures leg, which leaves the hedge half done.
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 --type market -o json 2>/dev/null
Both legs are live orders on the real account, so run unset KRAKEN_WORKSPACE
first. Inside a paper workspace the spot leg fills on paper and the workspace
guard refuses the futures leg, which leaves the hedge half done.
When funding is negative (shorts pay longs):
# Carry: long perpetual (collect funding)
kraken futures order buy PF_XBTUSD 1 --type market -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.
Both legs are live orders on the real account, so run unset KRAKEN_WORKSPACE
first. Inside a paper workspace the spot leg fills on paper and the workspace
guard refuses the futures leg, which leaves the hedge half done.
Close both legs when carry becomes unprofitable:
kraken futures order buy PF_XBTUSD 1 --type market --reduce-only -o json 2>/dev/null
kraken order sell BTCUSD 0.01 --type market -o json 2>/dev/null
kraken feedback.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
kraken, perpetual-futures, funding-rate, carry-trade, crypto-trading
59 skills in this plugin
/kraken-alert-patternsPrice alerts, threshold monitoring, and notification triggers for agents./kraken-autonomy-levelsProgress from manual trading to full agent autonomy with controlled risk at each level./kraken-basis-tradingCapture the spot-futures price spread with delta-neutral basis trades./kraken-dca-strategyDollar cost averaging with scheduled buys and performance tracking./kraken-earn-stakingDiscover staking strategies, allocate funds, and track earn positions./kraken-error-recoveryHandle order failures, network errors, and duplicate submissions safely.npx claudepluginhub krakenfx/kraken-cli --plugin kraken-cliOther plugins' skills for the same job