kraken-futures-trading

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

23 stars

Best use case

kraken-futures-trading is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

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

Teams using kraken-futures-trading should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/kraken-official-futures-trading/SKILL.md --create-dirs "https://raw.githubusercontent.com/jiayaoqijia/cryptoskill/main/skills/exchanges/kraken-official-futures-trading/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/kraken-official-futures-trading/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How kraken-futures-trading Compares

Feature / Agentkraken-futures-tradingStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

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

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# kraken-futures-trading

Use this skill for:
- placing futures buy and sell orders (market, limit, stop)
- 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 -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 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 --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.

## 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.

Related Skills

margin-trading

23
from jiayaoqijia/cryptoskill

KuCoin Margin trading using the KuCoin API. Cross margin and isolated margin market data, order queries, borrowing/repaying queries, lending queries, and risk limits. Authentication requires API Key, API Secret, and Passphrase.

futures-trading

23
from jiayaoqijia/cryptoskill

KuCoin Futures trading using the KuCoin API. Futures market data, orders, positions, and funding fees. Authentication requires API Key, API Secret, and Passphrase.

Kraken Crypto Skill

23
from jiayaoqijia/cryptoskill

Use the kraken_cli.py wrapper to query your Kraken account.

openclaw_kraken

23
from jiayaoqijia/cryptoskill

Use a Bash CLI to query Kraken Spot and Futures APIs, inspect account state, run guarded trading and funding actions, and work with Kraken websocket payloads using OpenClaw-managed secrets.

kraken-ws-streaming

23
from jiayaoqijia/cryptoskill

Real-time data streaming via WebSocket for spot and futures.

kraken-twap-execution

23
from jiayaoqijia/cryptoskill

Execute large orders as time-weighted slices to reduce market impact.

kraken-tax-export

23
from jiayaoqijia/cryptoskill

Export trade history, ledgers, and cost basis data for tax reporting.

kraken-subaccount-ops

23
from jiayaoqijia/cryptoskill

Create and manage subaccounts with inter-account transfers.

kraken-stop-take-profit

23
from jiayaoqijia/cryptoskill

Manage stop-loss and take-profit orders for risk-bounded positions.

kraken-spot-execution

23
from jiayaoqijia/cryptoskill

Execute spot orders with validation, confirmation gates, and post-trade checks.

kraken-shared

23
from jiayaoqijia/cryptoskill

Shared runtime contract for kraken-cli: auth, invocation, parsing, and safety.

kraken-risk-operations

23
from jiayaoqijia/cryptoskill

Operational risk controls for live agent trading sessions.