跳到正文
FunCoding

kraken-risk-operations

Operational risk controls for live agent trading sessions.

Star
830
许可证
MIT
最近提交
2026年10月29日

skills/kraken-risk-operations/SKILL.md

在 GitHub 上查看

kraken-risk-operations

Use this skill to reduce live-trading risk during automation.

Pre-Flight Checklist

  1. Confirm intended environment (paper vs live).
  2. Confirm pair, side, volume, and order type.
  3. Validate payload with --validate.
  4. 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. --yes skips the CLI prompt, so pass it only after the user approves:

kraken order cancel-all --yes -o json 2>/dev/null
kraken futures cancel-all --yes -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 retry; if verify_first is true, check order or transfer state first
  • rate_limit: read suggestion and docs_url fields, reduce call frequency or switch to WebSocket
  • auth: stop and refresh credentials
  • validation or api: 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.
  • 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.

相似的 Skill

rea-tool-design

MOmorluto/rea486k近 7 天新增 8,943 个 star

research

MAmattpocock/skills337k近 7 天新增 4,978 个 star

benchmark-methodology

AFaffaan-m/ECC315k近 7 天新增 4,381 个 star

brand

NEnextlevelbuilder/ui-ux-pro-max-skill157k近 7 天新增 3,225 个 star

banner-design

NEnextlevelbuilder/ui-ux-pro-max-skill157k近 7 天新增 3,225 个 star

mode-creator

THthedotmack/claude-mem121k近 7 天新增 1,626 个 star