From kraken-cli
References Kraken spot and futures order types including market, limit, stop-loss, take-profit, trailing stops, and modifiers like post-only, GTC, IOC with CLI examples.
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:
Fills immediately at best available price. Simple, guaranteed fill, but no price control.
kraken order buy BTCUSD 0.001 -o json 2>/dev/null
kraken order sell BTCUSD 0.001 --type market -o json 2>/dev/null
Fills at the specified price or better. No fill guarantee if price never reaches the level.
kraken order buy BTCUSD 0.001 --type limit --price 50000 -o json 2>/dev/null
Triggers a market order when the price crosses the stop level.
kraken order sell BTCUSD 0.001 --type stop-loss --price 48000 -o json 2>/dev/null
Triggers a limit order when the price crosses the stop level.
kraken order sell BTCUSD 0.001 --type stop-loss-limit --price 48000 --price2 47500 -o json 2>/dev/null
Triggers a market order when the price reaches the profit target.
kraken order sell BTCUSD 0.001 --type take-profit --price 55000 -o json 2>/dev/null
Triggers a limit order at the profit target.
kraken order sell BTCUSD 0.001 --type take-profit-limit --price 55000 --price2 54800 -o json 2>/dev/null
Stop level moves with the market to lock in profits.
kraken order sell BTCUSD 0.001 --type trailing-stop --price +500 -o json 2>/dev/null
Trailing stop that triggers a limit order instead of market.
kraken order sell BTCUSD 0.001 --type trailing-stop-limit --price +500 --price2 -100 -o json 2>/dev/null
| Flag | Effect |
|---|---|
--oflags post | Post-only: reject if it would immediately fill (maker only) |
--oflags fciq | Fee in quote currency |
--oflags fcib | Fee in base currency |
--oflags nompp | No market price protection |
--timeinforce GTC | Good-til-cancelled (default) |
--timeinforce IOC | Immediate-or-cancel: fill what you can, cancel the rest |
--timeinforce GTD | Good-til-date: cancel after specified expiry |
--validate | Validate only, do not submit |
kraken futures order buy PF_XBTUSD 1 -o json 2>/dev/null
kraken futures order buy PF_XBTUSD 1 --type limit --price 50000 -o json 2>/dev/null
kraken futures order sell PF_XBTUSD 1 --type stop --stop-price 48000 --trigger-signal mark -o json 2>/dev/null
kraken futures order sell PF_XBTUSD 1 --type stop --stop-price 68000 --trailing-stop-max-deviation 500 --trailing-stop-deviation-unit quote_currency -o json 2>/dev/null
| Flag | Effect |
|---|---|
--reduce-only | Close existing position only, never open new |
--trigger-signal mark | Trigger on mark price |
--trigger-signal index | Trigger on index price |
--trigger-signal last | Trigger on last traded price |
--client-order-id <ID> | Attach a custom ID for tracking |
| Goal | Order Type |
|---|---|
| Buy now at any price | market |
| Buy at a specific price or better | limit |
| Protect downside if price drops | stop-loss |
| Lock in profit if price rises | take-profit |
| Trail a rising price and sell on reversal | trailing-stop |
| Earn maker rebates | limit + --oflags post |
| Fill immediately or not at all | limit + --timeinforce IOC |
Always validate before submitting:
kraken order buy BTCUSD 0.001 --type limit --price 50000 --validate -o json 2>/dev/null
--validate before live submission.--reduce-only on futures exits to prevent accidental position flips.