Kraken Futures Trading logo

Kraken Futures Trading

Organization
krakenfx
kraken-futures-trading

Place, manage, and monitor futures orders across the full lifecycle.

Overview

Publisherkrakenfx
Repositorykraken-cli
Skill namekraken-futures-trading
Stars
754
Forks
104
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by krakenfx on GitHub. Read the source before you install it.

Installation

Install the Kraken Futures Trading AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/krakenfx/kraken-cli/tree/main/skills/kraken-futures-trading
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/krakenfx/kraken-cli.git /tmp/kraken-cli
mkdir -p .claude/skills
cp -r /tmp/kraken-cli/skills/kraken-futures-trading .claude/skills/kraken-futures-trading
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Kraken Futures Trading in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Kraken Futures Trading on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Kraken Futures Trading is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

kraken-futures-trading

Use this skill for:

  • placing futures buy and sell orders (market, limit, post, stop, take-profit, ioc, trailing-stop, fok)
  • editing and cancelling futures orders
  • batch order placement for multi-leg strategies
  • monitoring open positions and fills

Authentication

Futures use separate credentials from spot:

bash
export KRAKEN_FUTURES_API_KEY="your-futures-key"
export KRAKEN_FUTURES_API_SECRET="your-futures-secret"

Safe Execution Flow

  1. Check available contracts:
    bash
    kraken futures instruments -o json 2>/dev/null
  2. Read current price:
    bash
    kraken futures ticker PF_XBTUSD -o json 2>/dev/null
  3. Check account state:
    bash
    kraken futures accounts -o json 2>/dev/null
  4. Place order (requires human approval):
    bash
    kraken futures order buy PF_XBTUSD 1 --type limit --price 50000 -o json 2>/dev/null
  5. Verify placement:
    bash
    kraken futures open-orders -o json 2>/dev/null

Order Types

Market order:

bash
kraken futures order buy PF_XBTUSD 1 --type market -o json 2>/dev/null

Limit order:

bash
kraken futures order sell PF_XBTUSD 1 --type limit --price 70000 -o json 2>/dev/null

Stop order:

bash
kraken futures order buy PF_XBTUSD 1 --type stop --stop-price 55000 --trigger-signal mark -o json 2>/dev/null

Trailing stop:

bash
kraken futures order sell PF_XBTUSD 1 --type trailing-stop --stop-price 68000 --trailing-stop-max-deviation 500 --trailing-stop-deviation-unit quote_currency -o json 2>/dev/null

Reduce-only (close position without opening new exposure):

bash
kraken futures order sell PF_XBTUSD 1 --type market --reduce-only -o json 2>/dev/null

Batch Orders

Place multiple orders atomically (useful for bracket entries):

bash
kraken futures batch-order '[
  {"order":"sendorder","orderTag":"entry","symbol":"PF_XBTUSD","side":"buy","size":1,"orderType":"lmt","limitPrice":50000},
  {"order":"sendorder","orderTag":"tp","symbol":"PF_XBTUSD","side":"sell","size":1,"orderType":"lmt","limitPrice":55000,"reduceOnly":true}
]' -o json 2>/dev/null

Edit and Cancel

Edit in place:

bash
kraken futures edit-order --order-id <ID> --price 51000 -o json 2>/dev/null

Cancel one:

bash
kraken futures cancel --order-id <ID> -o json 2>/dev/null

Cancel all:

bash
kraken futures cancel-all -o json 2>/dev/null

Cancel by symbol:

bash
kraken futures cancel-all --symbol PF_XBTUSD -o json 2>/dev/null

Position Monitoring

Open positions:

bash
kraken futures positions -o json 2>/dev/null

Recent fills:

bash
kraken futures fills --since 2024-01-01T00:00:00Z -o json 2>/dev/null

Execution history:

bash
kraken futures history-executions --since 2024-01-01T00:00:00Z --sort desc -o json 2>/dev/null

Order history:

bash
kraken futures history-orders --sort desc -o json 2>/dev/null

Dead Man's Switch

Enable for unattended sessions. All orders cancel if the timer expires:

bash
kraken futures cancel-after 600 -o json 2>/dev/null

Refresh periodically. If the agent crashes, orders auto-cancel.

Paper Trading

Test futures strategies without real money using kraken futures paper. Near-parity with live futures: all 8 order types (market, limit, post, stop, take-profit, ioc, trailing-stop, fok); leverage, margin tracking, liquidation simulation, and funding rates. Known differences: single-ID order-status, post-only orders are cancelled rather than queued, fills use the bid/ask snapshot with no depth-based slippage, and partial fills are not modeled.

bash
kraken futures paper init --balance 10000 -o json 2>/dev/null
kraken futures paper buy PF_XBTUSD 1 --leverage 10 --type market -o json 2>/dev/null
kraken futures paper positions -o json 2>/dev/null
kraken futures paper status -o json 2>/dev/null
kraken futures paper reset -o json 2>/dev/null

Switch between paper and live by replacing futures paper with futures order. No credentials required for paper trading.

Hard Rules

  • Never place futures orders without explicit human approval.
  • Always check futures accounts before trading to confirm margin availability.
  • Use --reduce-only when closing positions to prevent accidental flips.
  • Enable cancel-after for any automated session.
  • Test strategies with kraken futures paper before going live.
  • 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.

Frequently asked questions

What does the Kraken Futures Trading AI skill do?

Place, manage, and monitor futures orders across the full lifecycle.

Why use Kraken Futures Trading on TypingMind?

Because you install it once and use it with any model. Kraken Futures Trading is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Kraken Futures Trading in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/krakenfx/kraken-cli/tree/main/skills/kraken-futures-trading. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Kraken Futures Trading?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Kraken Futures Trading?

As many as you like. As long as a model supports skills, you can use Kraken Futures Trading with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Kraken Futures Trading AI skill free?

Yes. It is published on GitHub by krakenfx under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇