Agent Skillskrakenfx/kraken-cli › kraken-paper-strategy

kraken-paper-strategy

GitHub

用于在现货市场验证交易策略逻辑,包括进出场规则、仓位管理和简单调仓循环。通过本地模拟实时价格、手续费和滑点,在零风险环境下演练错误处理,确保策略稳定后再投入实盘。

skills/kraken-paper-strategy/SKILL.md krakenfx/kraken-cli

Trigger Scenarios

需要测试加密货币现货交易策略 验证入场和出场逻辑 模拟仓位调整和错误处理

Install

npx skills add krakenfx/kraken-cli --skill kraken-paper-strategy -g -y
More Options

Use without installing

npx skills use krakenfx/kraken-cli@kraken-paper-strategy

指定 Agent (Claude Code)

npx skills add krakenfx/kraken-cli --skill kraken-paper-strategy -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-paper-strategy",
    "version": "1.0.0",
    "metadata": {
        "openclaw": {
            "category": "finance"
        },
        "requires": {
            "bins": [
                "kraken"
            ]
        }
    },
    "description": "Test strategy logic on paper trading before touching live funds."
}

kraken-paper-strategy

Use this skill for:

  • validating entry and exit logic on spot markets
  • testing position sizing and simple rebalance loops
  • rehearsing error handling without risk

For futures paper trading (leverage, margin, shorts, liquidation), see kraken futures paper commands. This skill covers spot paper trading only.

Limitations

Paper trading runs locally against live market prices. It simulates fees and slippage but has other limitations.

  • Fees are configurable. A 0.26% taker fee (Kraken Starter tier) is applied by default. Override with --fee-rate at workspace create (fixed for the account's life). Real fees vary by volume tier and maker/taker status. Live maker fees are lower (0.16%).
  • Slippage is configurable. A flat slippage rate can be applied to market orders with --slippage-rate (default: 0.0). Market buys fill at ask * (1 + slippage_rate), sells at bid * (1 - slippage_rate). This is a conservative approximation; real slippage depends on order book depth, size, and volatility.
  • No partial fills or rejection. Paper orders always fill in full immediately. Live orders may partially fill, queue, or be rejected.

When presenting paper results to the user, note that partial fills and order book dynamics are not simulated. If slippage is set to 0.0 (default), remind the user that live market orders will fill at worse prices.

Baseline Workflow

kraken workspace create sandbox --capital 10000 --mode paper --currency USD --slippage-rate 0.001 -o json 2>/dev/null
export KRAKEN_WORKSPACE=sandbox
kraken paper buy BTCUSD 0.01 -o json 2>/dev/null
kraken workspace status -o json 2>/dev/null
kraken paper sell BTCUSD 0.005 --type limit --price 70000 -o json 2>/dev/null
kraken paper orders -o json 2>/dev/null
kraken paper history -o json 2>/dev/null

Reset Between Runs

kraken workspace reset -o json --yes 2>/dev/null

Migration Rule

Only move a strategy to live trading after:

  1. repeated paper runs with stable behavior
  2. explicit user sign-off
  3. --validate checks pass for live order payloads

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

    v0.4.0:工作区命令重构(如workspace create),新增slippage-rate可配置参数,引入kraken feedback命令,更新MCP设置要求。

  • 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-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-risk-operations/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
247fb238
Indexed
2026-07-25 10:28

trang chủ - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-02 22:04
浙ICP备14020137号-1 $bản đồ khách truy cập$