Skip to content
Finance
Skill

/kraken-paper-to-live

Promote a validated paper strategy to live trading, gated on lab experiment evidence plus safety checks.

From plugin
kraken-cli
81459 skills1 MCP

Claude Code

$ npx -y skills add krakenfx/kraken-cli --skill kraken-paper-to-live --agent claude-code

SKILL.md

kraken-paper-to-live.SKILL.md
name: kraken-paper-to-live
version: 1.2.0
description: "Promote a validated paper strategy to live trading, gated on lab experiment evidence plus safety checks."
metadata:
  openclaw:
    category: "finance"
  requires:
    bins: ["kraken", "jq"]
    skills: ["kraken-paper-strategy", "kraken-spot-execution", "kraken-risk-operations", "kraken-lab-experiment"]

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 tape), 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. Missing evidence returns the checklist in the refusal envelope; a passing checklist requires explicit confirmation before the workspace changes mode:

kraken workspace promote <workspace> -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[]: active sessions or paper orders that must be resolved first

After promotion, orders use the normal configured Kraken credentials and the venue's own fills are reconciled back into the workspace ledger by txid, so its P&L is real. The workspace is an allocation of the account, not a Kraken subaccount: the CLI enforces the allocation, Kraken does not, and anything using the same API key can spend allocated funds. Expect two pre-venue refusals, both `validation` envelopes:

  • **Allocation budget** — an order spending beyond what the workspace's own

ledger holds free of resting orders is refused. Route on the envelope's typed fields, never the message: `refusal: "allocation_budget"` with `available` and `required` (decimal strings), `funding` (the asset code the order spends — a pair leg, not necessarily the allocation currency), and `reconciled` (false means `available` may be stale). Reduce the size or cancel resting orders; this is the workspace's ledger, not the account balance.

  • **Backing** — refused with `refusal: "over_allocated"` or `"unverified"`

plus the full `backing` object. An over-allocated workspace stops spending the allocated asset until funds return to the account; an unverified one (balance unreadable) stops spending until credentials and connectivity are restored.

Size orders before placing them: reconciling live workspace commands (orders, `balance`, `open-orders`, `trades-history`, `workspace status`) stamp `.backing.spendable` — the allocation-asset ledger balance free of resting orders. For orders that spend the allocation asset this is the figure the budget gate checks `required` against; an order on a pair carrying the allocation on neither leg is gated in its own funding leg instead (read that asset from `balance`).

The order that pays the allocated asset back in — closing a position — passes both refusals, so never tell a user they must abandon the workspace to exit a trade.

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:

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` — *
Read more
@krakenfx
Ships withkraken-cli

Trade on Kraken from your terminal, or let your AI agent trade for you. One install covers crypto, tokenized U.S. stocks and ETFs (for non-U.S. customers), forex, and futures. Every command can answer in JSON.

81459 skills1 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
814
Star history of krakenfx/kraken-cli on GitHub, a chart by star-history.com

Other skills on kraken-cli.

More skills from other plugins.

ccxt-cli

ccxt-cli

CCXT command-line interface (ccxt-cli) for interacting with 100+ cryptocurrency exchanges directly from the terminal — no code…

ccxt10d45k
@ccxt@ccxtInstall Skill

Questions about kraken-paper-to-live.

Which coding agents can use kraken-paper-to-live?
kraken-paper-to-live installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.