recipe-paper-strategy-backtest

Backtest a trading strategy using paper trading against live prices.

23 stars

Best use case

recipe-paper-strategy-backtest is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Backtest a trading strategy using paper trading against live prices.

Teams using recipe-paper-strategy-backtest should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/kraken-official-recipe-paper-strategy-backtest/SKILL.md --create-dirs "https://raw.githubusercontent.com/jiayaoqijia/cryptoskill/main/skills/exchanges/kraken-official-recipe-paper-strategy-backtest/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/kraken-official-recipe-paper-strategy-backtest/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How recipe-paper-strategy-backtest Compares

Feature / Agentrecipe-paper-strategy-backtestStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Backtest a trading strategy using paper trading against live prices.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

Related Guides

SKILL.md Source

# Paper Strategy Backtest

> **PREREQUISITE:** Load the following skill to execute this recipe: `kraken-paper-strategy`

Run a strategy through multiple paper sessions to validate consistency before live deployment.

## Important: Paper Results Overstate Live Performance

Paper trading fills at the exact quoted price with no fees, no slippage, and no partial fills. Live trading on Kraken incurs maker/taker fees (0.16%/0.26% at base tier), slippage on market orders, and possible partial fills on limit orders. When comparing session results in step 9 below, subtract at least 0.26% per fill from paper returns to get a more realistic estimate. A strategy that is only marginally profitable on paper is likely unprofitable live.

## Steps

1. Define strategy parameters (pair, entry/exit rules, position size)
2. Initialize paper account: `kraken paper init --balance 10000 -o json 2>/dev/null`
3. Run session 1: execute strategy logic using paper buy/sell commands
4. Record session 1 results: `kraken paper status -o json 2>/dev/null` + `kraken paper history -o json 2>/dev/null`
5. Reset: `kraken paper reset -o json 2>/dev/null`
6. Run session 2 with same parameters at a different time (different market conditions)
7. Record session 2 results
8. Repeat for 3-5 sessions minimum
9. Compare results: win rate, average P&L per trade, max drawdown, Sharpe-like ratio
10. If results are consistent and positive, the strategy is a candidate for live promotion
11. If results vary wildly, adjust parameters and re-test

Related Skills