Agent Skillskrakenfx/kraken-cli › kraken-risk-operations

kraken-risk-operations

GitHub

提供Kraken自动化交易的风险控制指南,涵盖飞行前检查、安全命令(如死手开关、批量取消)及故障处理规则,确保实盘操作安全。

skills/kraken-risk-operations/SKILL.md krakenfx/kraken-cli

Trigger Scenarios

用户进行自动化交易操作 需要执行订单取消或查看持仓时 交易脚本出现网络或API错误时

Install

npx skills add krakenfx/kraken-cli --skill kraken-risk-operations -g -y
More Options

Use without installing

npx skills use krakenfx/kraken-cli@kraken-risk-operations

指定 Agent (Claude Code)

npx skills add krakenfx/kraken-cli --skill kraken-risk-operations -a claude-code -g -y

安装 repo 全部 skill

npx skills add krakenfx/kraken-cli --all -g -y

预览 repo 内 skill

npx skills add krakenfx/kraken-cli --list

SKILL.md

Frontmatter
{
    "name": "kraken-risk-operations",
    "version": "1.0.0",
    "metadata": {
        "openclaw": {
            "category": "finance"
        },
        "requires": {
            "bins": [
                "kraken"
            ]
        }
    },
    "description": "Operational risk controls for live agent trading sessions."
}

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:

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 retry
  • 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.

Version History

  • aa56e59 Current 2026-08-20 04:45

    新增kraken feedback命令用于反馈,MCP账户设置变更需显式确认,期货WebSocket URL覆盖增加可信主机白名单限制,以及工具链和依赖升级。

  • aa32814 2026-07-25 10:28

Same Skill Collection

skills/kraken-alert-patterns/SKILL.md
skills/kraken-autonomy-levels/SKILL.md
skills/kraken-basis-trading/SKILL.md
skills/kraken-dca-strategy/SKILL.md
skills/kraken-earn-staking/SKILL.md
skills/kraken-error-recovery/SKILL.md
skills/kraken-fee-optimization/SKILL.md
skills/kraken-funding-carry/SKILL.md
skills/kraken-funding-ops/SKILL.md
skills/kraken-futures-risk/SKILL.md
skills/kraken-grid-trading/SKILL.md
skills/kraken-lab-experiment/SKILL.md
skills/kraken-liquidation-guard/SKILL.md
skills/kraken-market-intel/SKILL.md
skills/kraken-mcp-integration/SKILL.md
skills/kraken-multi-pair/SKILL.md
skills/kraken-order-types/SKILL.md
skills/kraken-paper-strategy/SKILL.md
skills/kraken-paper-to-live/SKILL.md
skills/kraken-playground/SKILL.md
skills/kraken-portfolio-intel/SKILL.md
skills/kraken-rate-limits/SKILL.md
skills/kraken-rebalancing/SKILL.md
skills/kraken-setup/SKILL.md
skills/kraken-spot-execution/SKILL.md
skills/kraken-stop-take-profit/SKILL.md
skills/kraken-subaccount-ops/SKILL.md
skills/kraken-tax-export/SKILL.md
skills/kraken-twap-execution/SKILL.md
skills/kraken-ws-streaming/SKILL.md
skills/recipe-basis-trade-entry/SKILL.md
skills/recipe-daily-pnl-report/SKILL.md
skills/recipe-drawdown-circuit-breaker/SKILL.md
skills/recipe-earn-yield-compare/SKILL.md
skills/recipe-emergency-flatten/SKILL.md
skills/recipe-fee-tier-progress/SKILL.md
skills/recipe-funding-rate-scan/SKILL.md
skills/recipe-futures-hedge-spot/SKILL.md
skills/recipe-launch-grid-bot/SKILL.md
skills/recipe-morning-market-brief/SKILL.md
skills/recipe-multi-pair-breakout-watch/SKILL.md
skills/recipe-paper-strategy-backtest/SKILL.md
skills/recipe-playground-dca-triggered/SKILL.md
skills/recipe-playground-dca/SKILL.md
skills/recipe-playground-price-alert/SKILL.md
skills/recipe-playground-rebalance/SKILL.md
skills/recipe-playground-webhook/SKILL.md
skills/recipe-portfolio-snapshot-csv/SKILL.md
skills/recipe-price-level-alerts/SKILL.md

Metadata

Files
0
Version
aa56e59
Hash
56b4fa3f
Indexed
2026-07-25 10:28

Главная - Вики-сайт
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-20 08:59
浙ICP备14020137号-1 $Гость$