kraken-alert-patterns
Price alerts, threshold monitoring, and notification triggers for agents.
Automatically stop trading when portfolio drawdown exceeds a threshold.
Claude Code
$ npx -y skills add krakenfx/kraken-cli --skill recipe-drawdown-circuit-breaker --agent claude-code
Codex
$ npx skills add krakenfx/kraken-cli --skill recipe-drawdown-circuit-breaker -a codex -y
Cursor
$ npx skills add krakenfx/kraken-cli --skill recipe-drawdown-circuit-breaker -a cursor -y
Gemini CLI
$ npx skills add krakenfx/kraken-cli --skill recipe-drawdown-circuit-breaker -a gemini-cli -y
GitHub Copilot
$ npx skills add krakenfx/kraken-cli --skill recipe-drawdown-circuit-breaker -a github-copilot -y
OpenCode
$ npx skills add krakenfx/kraken-cli --skill recipe-drawdown-circuit-breaker -a opencode -y
Windsurf
$ npx skills add krakenfx/kraken-cli --skill recipe-drawdown-circuit-breaker -a windsurf -y
name: recipe-drawdown-circuit-breaker
version: 1.0.0
description: "Automatically stop trading when portfolio drawdown exceeds a threshold."
metadata:
openclaw:
category: "recipe"
domain: "risk"
requires:
bins: ["kraken"]
skills: ["kraken-risk-operations", "kraken-alert-patterns"]> **PREREQUISITE:** Load the following skills to execute this recipe: `kraken-risk-operations`, `kraken-alert-patterns`
Monitor portfolio value and halt trading if cumulative drawdown from peak exceeds a limit (e.g., 10%).
1. Record starting portfolio value: `kraken balance -o json 2>/dev/null` + `kraken ticker BTCUSD ETHUSD SOLUSD -o json 2>/dev/null` (calculate total USD value) 2. Set this as the high-water mark 3. On each check interval (at least 5 seconds; see `kraken-rate-limits` for tier budgets):
4. If drawdown exceeds threshold (e.g., 10%):
5. Present drawdown report: peak value, current value, drawdown percentage, orders cancelled 6. Cancel operations require explicit human approval unless operating at autonomy level 4+ 7. Wait for explicit user instruction before resuming any trading activity
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) .…