kraken-alert-patterns
Price alerts, threshold monitoring, and notification triggers for agents.
Complete reference for all spot and futures order types and modifiers.
Claude Code
$ npx -y skills add krakenfx/kraken-cli --skill kraken-order-types --agent claude-code
Codex
$ npx skills add krakenfx/kraken-cli --skill kraken-order-types -a codex -y
Cursor
$ npx skills add krakenfx/kraken-cli --skill kraken-order-types -a cursor -y
Gemini CLI
$ npx skills add krakenfx/kraken-cli --skill kraken-order-types -a gemini-cli -y
GitHub Copilot
$ npx skills add krakenfx/kraken-cli --skill kraken-order-types -a github-copilot -y
OpenCode
$ npx skills add krakenfx/kraken-cli --skill kraken-order-types -a opencode -y
Windsurf
$ npx skills add krakenfx/kraken-cli --skill kraken-order-types -a windsurf -y
name: kraken-order-types
version: 1.0.0
description: "Complete reference for all spot and futures order types and modifiers."
metadata:
openclaw:
category: "finance"
requires:
bins: ["kraken"]Use this skill for:
Fills immediately at best available price. Simple, guaranteed fill, but no price control. `kraken order` and `kraken futures order` default to `--type limit`, so pass `--type market` explicitly.
kraken order buy BTCUSD 0.001 --type market -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 --type market -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 trailing-stop --trailing-stop-max-deviation 500 --trailing-stop-deviation-unit quote_currency --trigger-signal mark -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 what you can now, cancel the rest | limit + `--timeinforce IOC` (spot), or futures `--type ioc` with `--price` | | Fill completely now or not at all | futures `--type fok` with `--price` |
Validate spot orders before submitting. Only `kraken order buy`, `order sell`, `order batch`, `ws add-order` and `ws batch-add` take `--validate`; futures orders, amends, edits and cancels have no dry run, so each needs explicit approval. Rehearse futures orders on `kraken futures paper`.
kraken order buy BTCUSD 0.001 --type limit --price 50000 --validate -o json 2>/dev/null
Trade on Kraken from your terminal, or let your AI agent trade for you. One install covers crypto, tokenized U.S. stocks and ETFs (for non-U.S. customers), forex, and futures. Every command can answer in JSON.
Price alerts, threshold monitoring, and notification triggers for agents.
Progress from manual trading to full agent autonomy with controlled risk at each level.
Capture the spot-futures price spread with delta-neutral basis trades.
Dollar cost averaging with scheduled buys and performance tracking.
Discover staking strategies, allocate funds, and track earn positions.
Handle order failures, network errors, and duplicate submissions safely.
Complete, populate and fill out 3-statement financial model templates (Income Statement, Balance Sheet, Cash Flow Statement) .…
Complete, populate and fill out 3-statement financial model templates (Income Statement, Balance Sheet, Cash Flow Statement) .…