Test 60 parameter combinations, report the best Sharpe, call it edge — that's how almost every backtest tool works, and the number it hands you is inflated by construction. This one reports the Deflated Sharpe Ratio: the probability your edge is real, given how many configurations you actually tried to find it.
Run a parameter sweep across N strategy variants on the same historical data and the best-performing one will look great even if every single variant is worthless — pure selection bias. The Deflated Sharpe Ratio (Bailey & López de Prado methodology) corrects for exactly this: it uses the observed spread of Sharpe ratios across every configuration actually tried, plus the return series' own skew and kurtosis, to compute the real probability the true Sharpe exceeds zero. Below ~0.95, backtest-sweep's own response tells you not to treat the result as a discovery.
ma_cross, ema_cross, breakout, rsi_reversion, buy_hold. A backtest service that evals uploaded strategy code is a remote-code-execution endpoint with extra steps; this one isn't.| Route | Price | What it does |
|---|---|---|
/x402/backtest-run | $0.01 | Run one strategy/param config on real candle data (Coinbase / Kraken / Yahoo), get the full stat sheet |
/x402/backtest-sweep | $0.05 | Sweep a parameter grid, get the winner AND its Deflated Sharpe — corrected for every config tested, not just the winner |
/x402/backtest-strategies | $0.001 | List the fixed strategy set, venues, intervals, and request limits |
Every stat sheet: Sharpe, Sortino, CAGR, max drawdown (+ duration), win rate, profit factor, Calmar, volatility, num trades, Deflated Sharpe, and a bootstrap confidence interval on the Sharpe ratio.
List strategies Full manifest MarketplaceBar counts and sweep grid sizes are capped (20,000 bars, 60 configs per sweep) and every cap is reported back in the response rather than silently applied — an unbounded request doesn't fail gracefully on a two-worker deployment, it hangs a worker. Symbols use each venue's own format: Coinbase BTC-USD, Kraken XXBTZUSD, Yahoo SPY.
Script Master Labs, LLC · SDVOSB · Kinston, NC · Agent-native, pay-per-call, no subscription.