kraken-alert-patterns
Price alerts, threshold monitoring, and notification triggers for agents.
Backtest a trading strategy using paper trading against live prices.
Claude Code
$ npx -y skills add krakenfx/kraken-cli --skill recipe-paper-strategy-backtest --agent claude-code
Codex
$ npx skills add krakenfx/kraken-cli --skill recipe-paper-strategy-backtest -a codex -y
Cursor
$ npx skills add krakenfx/kraken-cli --skill recipe-paper-strategy-backtest -a cursor -y
Gemini CLI
$ npx skills add krakenfx/kraken-cli --skill recipe-paper-strategy-backtest -a gemini-cli -y
GitHub Copilot
$ npx skills add krakenfx/kraken-cli --skill recipe-paper-strategy-backtest -a github-copilot -y
OpenCode
$ npx skills add krakenfx/kraken-cli --skill recipe-paper-strategy-backtest -a opencode -y
Windsurf
$ npx skills add krakenfx/kraken-cli --skill recipe-paper-strategy-backtest -a windsurf -y
name: recipe-paper-strategy-backtest
version: 1.0.0
description: "Backtest a trading strategy using paper trading against live prices."
metadata:
openclaw:
category: "recipe"
domain: "strategy"
requires:
bins: ["kraken"]
skills: ["kraken-paper-strategy"]> **PREREQUISITE:** Load the following skill to execute this recipe: `kraken-paper-strategy`
Run a strategy through multiple paper runs to validate consistency before live deployment.
Paper trading applies configurable fees (default 0.26% taker) and optional flat-rate slippage to market orders. However, it does not simulate partial fills, order book depth, or latency. Live trading on Kraken has variable maker/taker fees by volume tier, depth-dependent slippage, and possible partial fills on limit orders. Enable `--slippage-rate` (e.g., `0.001` for 0.1%) at `workspace create` for more conservative estimates. A strategy that is only marginally profitable on paper with fees and slippage enabled is likely unprofitable live.
1. Define strategy parameters (pair, entry/exit rules, position size) 2. Initialize paper account: `kraken workspace create sandbox --capital 10000 --mode paper --slippage-rate 0.001 -o json 2>/dev/null` 3. Round 1: execute strategy logic with `kraken --workspace sandbox paper buy ...` and `kraken --workspace sandbox paper sell ...` 4. Record round 1 results: `kraken workspace status sandbox -o json 2>/dev/null` + `kraken --workspace sandbox paper history -o json 2>/dev/null` 5. Reset: `kraken workspace reset sandbox -o json --yes 2>/dev/null` 6. Round 2 with same parameters at a different time (different market conditions) 7. Record round 2 results 8. Repeat for 3-5 rounds minimum 9. Compare results: win rate, average P&L per trade, max drawdown, Sharpe-like ratio 10. If results are consistent and positive, the strategy is a candidate for live promotion 11. If results vary wildly, adjust parameters and re-test
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`.
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) .…