/kraken-cli:recipe-basis-trade-entryfrom kraken-cli
Enters a delta-neutral spot-futures basis trade on Kraken when the basis premium exceeds a target threshold.
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.
PREREQUISITE: Load the following skills to execute this recipe:
kraken-basis-trading,kraken-futures-risk
Enter a delta-neutral basis trade (long spot, short futures) when the basis premium is attractive.
CAUTION: Both legs must fill to be market-neutral. A single-leg fill is a directional bet.
SPOT=$(kraken ticker BTCUSD -o json 2>/dev/null | jq -r '.[].last_price')FUTURES=$(kraken futures ticker PF_XBTUSD -o json 2>/dev/null | jq -r '.ticker.last')BASIS=$(echo "scale=4; ($FUTURES - $SPOT) / $SPOT * 100" | bc)kraken balance -o json 2>/dev/nullkraken futures accounts -o json 2>/dev/nullkraken order buy BTCUSD 0.01 --type limit --price $SPOT -o json 2>/dev/nullkraken futures order sell PF_XBTUSD 1 --type limit --price $FUTURES -o json 2>/dev/nullkraken open-orders -o json 2>/dev/null + kraken futures open-orders -o json 2>/dev/nullIf you hit a mismatch between what you are trying to do and the CLI's interface or responses — including a mismatch between this skill and the installed CLI version's contract — feel free to submit feedback with kraken feedback.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub krakenfx/kraken-cli --plugin kraken-cli59 skills in this plugin
/kraken-dca-strategyDollar cost averaging with scheduled buys and performance tracking.Other plugins' skills for the same job