From kraken-cli
Deploys grid trading on Kraken with layered buy/sell limit orders across a price range for sideways markets. Covers paper testing, live batch placement, and maintenance loop for filled orders.
npx claudepluginhub krakenfx/kraken-cliThis skill uses the workspace's default tool permissions.
Use this skill for:
Guides Next.js Cache Components and Partial Prerendering (PPR) with cacheComponents enabled. Implements 'use cache', cacheLife(), cacheTag(), revalidateTag(), static/dynamic optimization, and cache debugging.
Guides building MCP servers enabling LLMs to interact with external services via tools. Covers best practices, TypeScript/Node (MCP SDK), Python (FastMCP).
Generates original PNG/PDF visual art via design philosophy manifestos for posters, graphics, and static designs on user request.
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.