Kraken official recipe drawdown circuit breaker

From jiayaoqijia/cryptoskill · View interactive version

Kraken official recipe drawdown circuit breaker is an AI agent skill from the GitHub repository jiayaoqijia/cryptoskill. Automatically stop trading when portfolio drawdown exceeds a threshold.

How to use this skill

Skill file

Drawdown Circuit Breaker

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%).

Steps

  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):
  1. If drawdown exceeds threshold (e.g., 10%):
  1. Present drawdown report: peak value, current value, drawdown percentage, orders cancelled
  2. Cancel operations require explicit human approval unless operating at autonomy level 4+
  3. 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.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.