Examples by role
Each example is one script that answers one decision someone in that role faces. Each runs on your machine in about a minute with no API key, and the figures below are what the scripts print.
Every example uses something a backtest on one price history cannot give: the same market run twice with one thing changed, many markets with a paired test, or orders that move prices and can be refused.
A/B test an AI agent
For teams building AI trading agents. Version 2 of an agent adds a risk rule. It led version 1 on 15 of 20 crisis markets and lost about half as much in a shared crisis. Read the example
Vet a trading bot
For developers with a bot on paper. A breakout bot beat buy-and-hold on 7 of 16 markets, about what a coin toss gives, so it has no edge to put money behind. Read the example
Stress test a portfolio
For risk teams. An 80/20 portfolio fell 27% from its peak in a simulated recession against 7% normally, and broke a 15% limit in all 10 of 10 markets. Read the example
A liquidity lab
For finance lecturers. The same large order cost 130 basis points in a crisis against 46 in calm, and only 84% of it filled. Read the example
Test a market hypothesis
For researchers. Three momentum traders barely moved volatility, but a fund trading after them paid 3.9 basis points more a trade on all 8 markets. Read the example
Gate an agent on a risk rule
For teams that evaluate AI agents. Only the careful agent kept to a 1.0x exposure rule. The reckless one broke it on all 12 markets and had 600 orders refused. Read the example
The guides cover each technique on its own: Compare strategies, Fork a market, Run a scenario and Record and replay.