Kraken Paper To Live 标志

Kraken Paper To Live

组织
krakenfx
kraken-paper-to-live

在实验室实验结果和安全检查均达标后,将已验证的模拟交易策略投入实盘交易。

Add to TypingMind

概览

发布者krakenfx
代码仓库kraken-cli
技能名称kraken-paper-to-live
星标数
754
复刻数
104
附带文件
仅含指令
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

    由 krakenfx 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Kraken Paper To Live AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/krakenfx/kraken-cli/tree/main/skills/kraken-paper-to-live
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/krakenfx/kraken-cli.git /tmp/kraken-cli
mkdir -p .claude/skills
cp -r /tmp/kraken-cli/skills/kraken-paper-to-live .claude/skills/kraken-paper-to-live
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Kraken Paper To Live,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Kraken Paper To Live。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Kraken Paper To Live 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

kraken-paper-to-live

Use this skill for:

  • validating a strategy has stable paper results before going live
  • running pre-flight checks before first live trade
  • migrating paper commands to their live equivalents
  • establishing safety controls for the live session

Paper-to-Live Performance Gap

Both spot and futures paper trading simulate taker fees (0.26% spot, configurable for futures). Spot paper supports optional flat-rate slippage simulation via --slippage-rate. Gaps remain between paper and live. Before promoting, factor in:

  • Fees are approximate. Paper uses flat fee rates. Real fees depend on your volume tier and maker/taker status. Each round-trip trade costs 0.32-0.52% at base tier.
  • Slippage is a flat estimate. If --slippage-rate was set (spot), market orders include a fixed slippage factor. Real slippage depends on order book depth, order size, and volatility. Futures paper does not model depth-based slippage.
  • No partial fills or latency. Limit orders fill fully or not at all. Live orders may partially fill, queue, or be rejected. Network and matching-engine latency can cause missed entries or exits.
  • Maker fees: Paper uses taker fee rates for all fills. Live limit orders that provide liquidity pay lower maker fees (0.16% spot).

When presenting promotion analysis to the user, note the remaining gaps (partial fills, depth-dependent slippage, tier-based fees). If slippage was not configured in paper, explicitly state that live market orders will fill at worse prices.

Promotion Gate — evidence, not narrative

Never propose a live order without the evidence block below. The gate rule: at least 2 passing sessions of one frozen experiment, of which a live paper session is mandatory. Replay sessions enter the evidence only with their lookahead caveat attached — replay cannot enforce lookahead (the agent can read the source dataset), so replay screens and live confirms; two replay passes must never promote on their own.

Start with the CLI's own checklist — kraken workspace promote grades the whole gate mechanically and returns it in the refusal envelope (exit 1 until scoped credentials land; the evaluation is the point):

bash
kraken workspace promote <workspace> --yes -o json 2>/dev/null | jq '.checklist'
# .criteria[]: one row per gate criterion, satisfied true/false + detail
# .experiments[]: per-experiment passing_sessions / passing_live_sessions
# .manual_trades_in_windows: disclosed manual interference
# .blockers[]: what no evidence can satisfy yet (scoped credentials)

Present that checklist verbatim. Then, for the per-session detail behind it, build the evidence block from kraken lab compare — reproduced cold from disk, seals verified via kraken lab show, no numbers of your own:

bash
kraken lab show <exp> -o json 2>/dev/null      # seal must verify
kraken lab compare <exp> -o json 2>/dev/null | jq '{
  experiment, frozen, pass_count, total,
  sessions: [.sessions[] | {session,
                    verdict: (if .error != null then "error" else .verdict.pass end),
                    source: (.source.kind // "unknown"),
                    caveats}],
  live_run_passed: ([.sessions[] | select((.verdict.pass // false) and .source.kind == "live")] | length > 0)
}'

The evidence block you present for sign-off:

  • experiment + frozen hash (the sealed goalposts),
  • every session: session id, source.kind (live, replay, or unknown for an errored session — errored sessions carry no scorecard), verdict (true, false, or "error" — a mechanical FAIL is not an error), caveats verbatim,
  • pass_count of total, and live_run_passed — a passing run whose source.kind is live (first-class, no caveat-string parsing).

Refusals must name what is missing. If pass_count < 2: say which sessions failed or errored. If no live session passed: say "replay evidence only — a passing live session is mandatory; run the plan's live entry" even when pass_count ≥ 2. A tampered or missing experiment file blocks promotion with its own parse/validation envelope — report it, never reconstruct.

Reset rule: a sealed spec cannot change. A new hypothesis, new criteria, or a re-recorded dataset is a new experiment, and its evidence count starts at zero.

A strategy is ready for live promotion when:

  1. The evidence block above passes the gate rule (≥2 passing sessions, live session mandatory, caveats attached).
  2. Error handling works correctly (rate limits, network failures).
  3. The strategy stays within defined risk parameters.
  4. Paper returns remain positive with fees (0.26% spot, 0.05% futures) and slippage enabled (--fee-rate, --slippage-rate).
  5. The user explicitly approves the transition.

Pre-Flight Checklist

Spot

Before the first live spot trade:

  1. Verify credentials:

    bash
    kraken auth test -o json 2>/dev/null
  2. Check balance:

    bash
    kraken balance -o json 2>/dev/null
  3. Confirm pair is tradable:

    bash
    kraken pairs --pair BTCUSD -o json 2>/dev/null
  4. Validate a sample order (does not execute):

    bash
    kraken order buy BTCUSD 0.001 --type limit --price 50000 --validate -o json 2>/dev/null
  5. Enable dead man's switch:

    bash
    kraken order cancel-after 600 -o json 2>/dev/null

Futures

Before the first live futures trade:

  1. Verify futures credentials:

    bash
    kraken futures accounts -o json 2>/dev/null
  2. Check margin availability:

    bash
    kraken futures accounts -o json 2>/dev/null
  3. Confirm instrument is tradable:

    bash
    kraken futures instrument-status --symbol PF_XBTUSD -o json 2>/dev/null
  4. Set leverage:

    bash
    kraken futures set-leverage PF_XBTUSD 10 -o json 2>/dev/null
  5. Enable dead man's switch:

    bash
    kraken futures cancel-after 600 -o json 2>/dev/null

Command Migration

Paper and live commands differ only in the prefix.

Spot

PaperLive
kraken paper buy BTCUSD 0.01kraken order buy BTCUSD 0.01
kraken paper sell BTCUSD 0.01kraken order sell BTCUSD 0.01
kraken paper statuskraken balance + kraken open-orders
kraken paper orderskraken open-orders
kraken paper historykraken trades-history
kraken paper cancel <ID>kraken order cancel <TXID>

Futures

PaperLive
kraken futures paper buy PF_XBTUSD 1 --leverage 10 --type marketkraken futures order buy PF_XBTUSD 1 --type market
kraken futures paper sell PF_XBTUSD 1 --leverage 10 --type marketkraken futures order sell PF_XBTUSD 1 --type market
kraken futures paper positionskraken futures positions
kraken futures paper orderskraken futures open-orders
kraken futures paper fillskraken futures fills
kraken futures paper cancel --order-id <ID>kraken futures cancel --order-id <ID>
kraken futures paper cancel-allkraken futures cancel-all

Leverage note: Paper accepts --leverage inline on buy/sell commands. Live futures configures leverage separately via kraken futures set-leverage <SYMBOL> <LEVERAGE> before placing orders.

Gradual Promotion

Start with smaller size than paper:

  1. Paper size: the volume used during testing.
  2. Initial live size: 10-25% of paper size.
  3. Scale up: increase gradually after confirming live behavior matches paper.

Live Session Safety

After going live, maintain these controls:

  • Dead man's switch refreshed periodically.
  • Balance check after every trade.
  • Open orders verified after every placement.
  • Error handling active for all error categories.
  • Maximum loss threshold that triggers session shutdown.

Rollback

If live behavior diverges from paper:

Spot

  1. Cancel all open spot orders:
    bash
    kraken order cancel-all -o json 2>/dev/null
  2. Assess balances.
  3. Return to kraken paper to debug.

Futures

  1. Cancel all open futures orders:
    bash
    kraken futures cancel-all -o json 2>/dev/null
  2. Close open positions with --reduce-only.
  3. Return to kraken futures paper to debug.

Hard Rules

  • Never promote without explicit user sign-off.
  • Never promote without the promotion evidence block: ≥2 passing sessions of a seal-verified experiment, a passing live run among them, caveats attached. Refusals name exactly which sessions or verdicts are missing.
  • Start at reduced size.
  • Always validate live orders before executing.
  • Maintain dead man's switch throughout the live session.
  • First live session should run at autonomy level 3 (supervised) regardless of prior paper autonomy.
  • 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.

常见问题

Kraken Paper To Live AI 技能有什么作用?

在实验室实验结果和安全检查均达标后,将已验证的模拟交易策略投入实盘交易。

为什么在 TypingMind 中使用 Kraken Paper To Live?

因为您只需安装一次,就能搭配任何模型使用。Kraken Paper To Live 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Kraken Paper To Live?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/krakenfx/kraken-cli/tree/main/skills/kraken-paper-to-live。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Kraken Paper To Live?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Kraken Paper To Live 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Kraken Paper To Live 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Kraken Paper To Live AI 技能免费吗?

是的。krakenfx 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇