kraken-risk-operations
Use this skill to reduce live-trading risk during automation.
Pre-Flight Checklist
- Confirm intended environment (paper vs live).
- Confirm pair, side, volume, and order type.
- Validate payload with
--validate. - Enable a dead-man switch for unattended sessions.
Live Session Safety Commands
Dead-man switch:
kraken order cancel-after 60 -o json 2>/dev/null
Mass cancel:
kraken order cancel-all -o json 2>/dev/null
kraken futures cancel-all -o json 2>/dev/null
Position visibility:
kraken open-orders -o json 2>/dev/null
kraken positions -o json 2>/dev/null
kraken futures positions -o json 2>/dev/null
Failure Handling
network: exponential backoff retryrate_limit: readsuggestionanddocs_urlfields, reduce call frequency or switch to WebSocketauth: stop and refresh credentialsvalidationorapi: stop, fix request, do not blind retry
Hard Rules
- All cancel and cancel-all operations are dangerous. Require explicit human approval before executing.
- Dead-man switch (
cancel-after) is also dangerous; confirm the timeout value with the user. - Never execute mass-cancel without verifying which orders and positions are open first.