krakenfx/kraken-cli/kraken-order-types

Claude Code and agent skill by krakenfx/kraken-cli

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Complete reference for all spot and futures order types and modifiers.

Install

npx vskill@latest install krakenfx/kraken-cli/kraken-order-types

SKILL.md

kraken-order-types

Use this skill for:

  • choosing the right order type for a given scenario
  • understanding order modifiers (post-only, reduce-only, GTC, IOC, FOK)
  • constructing complex orders with stop-loss and take-profit
  • batch and conditional order patterns

Spot Order Types

Market

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.

bash
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
Limit

Fills at the specified price or better. No fill guarantee if price never reaches the level.

bash
kraken order buy BTCUSD 0.001 --type limit --price 50000 -o json 2>/dev/null
Stop-Loss

Triggers a market order when the price crosses the stop level.

bash
kraken order sell BTCUSD 0.001 --type stop-loss --price 48000 -o json 2>/dev/null
Stop-Loss Limit

Triggers a limit order when the price crosses the stop level.

bash
kraken order sell BTCUSD 0.001 --type stop-loss-limit --price 48000 --price2 47500 -o json 2>/dev/null
Take-Profit

Triggers a market order when the price reaches the profit target.

bash
kraken order sell BTCUSD 0.001 --type take-profit --price 55000 -o json 2>/dev/null
Take-Profit Limit

Triggers a limit order at the profit target.

bash
kraken order sell BTCUSD 0.001 --type take-profit-limit --price 55000 --price2 54800 -o json 2>/dev/null
Trailing Stop

Stop level moves with the market to lock in profits.

bash
kraken order sell BTCUSD 0.001 --type trailing-stop --price +500 -o json 2>/dev/null
Trailing Stop Limit

Trailing stop that triggers a limit order instead of market.

bash
kraken order sell BTCUSD 0.001 --type trailing-stop-limit --price +500 --price2=-100 -o json 2>/dev/null

Spot Order Modifiers

FlagEffect
--oflags postPost-only: reject if it would immediately fill (maker only)
--oflags fciqFee in quote currency
--oflags fcibFee in base currency
--oflags nomppNo market price protection
--timeinforce GTCGood-til-cancelled (default)
--timeinforce IOCImmediate-or-cancel: fill what you can, cancel the rest
--timeinforce GTDGood-til-date: cancel after specified expiry
--validateValidate only, do not submit

Futures Order Types

Market
bash
kraken futures order buy PF_XBTUSD 1 --type market -o json 2>/dev/null
Limit
bash
kraken futures order buy PF_XBTUSD 1 --type limit --price 50000 -o json 2>/dev/null
Stop
bash
kraken futures order sell PF_XBTUSD 1 --type stop --stop-price 48000 --trigger-signal mark -o json 2>/dev/null
Trailing Stop (Futures)
bash
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

Futures Order Modifiers

FlagEffect
--reduce-onlyClose existing position only, never open new
--trigger-signal markTrigger on mark price
--trigger-signal indexTrigger on index price
--trigger-signal lastTrigger on last traded price
--client-order-id <ID>Attach a custom ID for tracking

Order Selection Guide

GoalOrder Type
Buy now at any pricemarket
Buy at a specific price or betterlimit
Protect downside if price dropsstop-loss
Lock in profit if price risestake-profit
Trail a rising price and sell on reversaltrailing-stop
Earn maker rebateslimit + --oflags post
Fill what you can now, cancel the restlimit + --timeinforce IOC (spot), or futures --type ioc with --price
Fill completely now or not at allfutures --type fok with --price

Validation

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.

bash
kraken order buy BTCUSD 0.001 --type limit --price 50000 --validate -o json 2>/dev/null

Hard Rules

  • All order placement commands are dangerous. Never execute without explicit human approval.
  • Always validate spot orders with --validate before live submission.
  • Use --reduce-only on futures exits to prevent accidental position flips.
  • If 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.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
74
Repository forks
10
7-day trend score
22

Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 17 Mar 2026, 7 months ago.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/krakenfx/kraken-cli/kraken-order-types/badge)](https://verified-skill.com/skills/krakenfx/kraken-cli/kraken-order-types)

Something wrong with this skill or its page? Tell us.