skills/kraken-grid-trading/SKILL.md
Grid trading strategy with layered buy and sell orders across a price range.
npx skillsauth add krakenfx/kraken-cli kraken-grid-tradingInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use this skill for:
Grid trading places buy orders below the current price and sell orders above it at fixed intervals. When a buy fills, a corresponding sell is placed one grid level higher. When a sell fills, a corresponding buy is placed one grid level lower. Profit comes from capturing the spread at each level.
Define before starting:
Grid spacing = (upper - lower) / grid levels.
Always test in paper mode first:
kraken paper init --balance 10000 -o json 2>/dev/null
# Place buy grid below current price
kraken paper buy BTCUSD 0.001 --type limit --price 58000 -o json 2>/dev/null
kraken paper buy BTCUSD 0.001 --type limit --price 57000 -o json 2>/dev/null
kraken paper buy BTCUSD 0.001 --type limit --price 56000 -o json 2>/dev/null
# Place sell grid above current price
kraken paper sell BTCUSD 0.001 --type limit --price 62000 -o json 2>/dev/null
kraken paper sell BTCUSD 0.001 --type limit --price 63000 -o json 2>/dev/null
kraken paper sell BTCUSD 0.001 --type limit --price 64000 -o json 2>/dev/null
kraken paper orders -o json 2>/dev/null
kraken paper status -o json 2>/dev/null
kraken ticker BTCUSD -o json 2>/dev/null
kraken order buy BTCUSD 0.001 --type limit --price 58000 --validate -o json 2>/dev/null
kraken order buy BTCUSD 0.001 --type limit --price 58000 -o json 2>/dev/null
kraken order buy BTCUSD 0.001 --type limit --price 57000 -o json 2>/dev/null
# ... remaining grid levels
kraken order batch grid-orders.json --pair BTCUSD --validate -o json 2>/dev/null
kraken order batch grid-orders.json --pair BTCUSD -o json 2>/dev/null
Monitor fills and replace completed orders:
kraken open-orders -o json 2>/dev/null
kraken trades-history -o json 2>/dev/null
Stream executions for real-time fill detection:
kraken ws executions -o json 2>/dev/null
Cancel all grid orders cleanly:
kraken order cancel-all -o json 2>/dev/null
Or cancel specific orders by TXID:
kraken order cancel-batch <TXID1> <TXID2> <TXID3> -o json 2>/dev/null
cancel-after for unattended grid sessions.tools
Connect MCP clients to kraken-cli for native tool calling without subprocess wrappers.
testing
Safely withdraw funds to a pre-approved cold storage address.
testing
Run a weekly portfolio rebalance to maintain target asset allocations.
testing
Ride a trend with a trailing stop that locks in profits on reversal.