kraken-paper-strategy
Test strategy logic on paper trading before touching live funds.
- License 许可
- MIT
- 最近更新
- 2026-11-12
- Stars
- ★ 81
- Forks
- 17
01 前言 Front Matter
- name
- kraken-paper-strategy
- version
- 1.0.0
- metadata
- { "openclaw": { "category": "finance" }, "requires": { "bins": [ "kraken" ] } }
- description
- Test strategy logic on paper trading before touching live funds.
02 资源文件 3
- 许可证LICENSE1.0 KB
- 参考文档SOURCE.md171 B
- 参考文档TRUST.auto.yaml2.1 KB
03 SKILL.md 正文
kraken-paper-strategy
Use this skill for:
- validating entry and exit logic on spot markets
- testing position sizing and simple rebalance loops
- rehearsing error handling without risk
For futures paper trading (leverage, margin, shorts, liquidation), see kraken futures paper commands. This skill covers spot paper trading only.
Limitations
Paper trading runs locally against live market prices. It simulates fees and slippage but has other limitations.
- Fees are configurable. A 0.26% taker fee (Kraken Starter tier) is applied by default. Override with
--fee-rateatworkspace create;workspace resetcan change it. Real fees vary by volume tier and maker/taker status. Live maker fees are lower (0.16%). - Slippage is configurable. A flat slippage rate can be applied to market orders with
--slippage-rate(default: 0.0). Market buys fill atask * (1 + slippage_rate), sells atbid * (1 - slippage_rate). This is a conservative approximation; real slippage depends on order book depth, size, and volatility. - No partial fills or rejection. A market order fills in full at once; a limit order rests until the market crosses it, then fills in full at its limit price. Live orders may partially fill, queue, or be rejected.
When presenting paper results to the user, note that partial fills and order book dynamics are not simulated. If slippage is set to 0.0 (default), remind the user that live market orders will fill at worse prices.
Baseline Workflow
kraken workspace create sandbox --capital 10000 --mode paper --currency USD --slippage-rate 0.001 -o json 2>/dev/null
export KRAKEN_WORKSPACE=sandbox
kraken paper buy BTCUSD 0.01 -o json 2>/dev/null
kraken workspace status -o json 2>/dev/null
kraken paper sell BTCUSD 0.005 --type limit --price 70000 -o json 2>/dev/null
kraken paper orders -o json 2>/dev/null
kraken paper history -o json 2>/dev/null
Reset Between Runs
kraken workspace reset -o json --yes 2>/dev/null
Migration Rule
Only move a strategy to live trading after:
- repeated paper runs with stable behavior
- explicit user sign-off
--validatechecks pass for live order payloads
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.
04 同仓库更多 Skills
recipe-performance
Diagnose a specific MetaMask user flow's real-app performance and Sentry critical-user-flow telemetry with deterministic mm-harness recipes. Use for CUF boundaries, cold/warm/background-resume behavior, latency regressions, lifecycle tags, duplicate or blocking network requests, long tasks, layout/paint cost, screen redraws, React rerenders, or browser trace analysis where tests alone cannot prove the real app.
mexc-spot-websocket
MEXC Spot WebSocket workflows for public streams, protobuf handling, depth maintenance, listen keys, and private streams without exposing API keys.
mexc-spot-rest
MEXC Spot REST workflows for public data, signed account requests, orders, wallet/admin actions, and secure signing without exposing API keys.
mexc-futures-websocket
MEXC Futures WebSocket workflows for public streams, private account/order/position streams, ping/pong, subscriptions, and depth maintenance.
0xklen-version-and-refresh-sanctions-lists
暂无简介
verify-tests-cover-changed-lines
Use when a PR adds code that the existing suite may not exercise. Measures patch coverage — the share of newly changed lines hit by tests — before approving.