Guides

Backtesting guides

Long-form playbooks for getting real work done with Bagtester. Written for builders — code samples, honest tradeoffs, no fluff.

How to backtest a trading strategy with Claude Code

End-to-end: add the MCP server, ask the agent to draft an SMA crossover, iterate with optimize_strategy and walk_forward — all from the terminal.

Read →

A QuantConnect alternative for AI-generated strategies

What an MCP-native backtester does differently, what you give up, and what a migration actually looks like.

Read →

Realistic backtests vs. vibes-trading

Why your fill model matters more than your signal. How Bagtester's minute / hybrid / tick modes change the result.

Read →

Backtesting a funding-rate arbitrage strategy

BTC perp funding harvester template. Realistic Sharpe range, regime sensitivity, and what the simple template doesn't model.

Read →