AI-Driven Strategy Backtesting via MCP

AI agents design, execute, and iterate on cross-asset derivatives backtests through MCP — mixing options, futures, perpetuals, and spot in a single conversation. Theoretical and listed pricing modes reveal the gap between model edge and executable edge.

Block Scholes3 min read

LinkedInX
Segment
AI & Agents
Sections
6
Reading time
3 min

Strategy Research at Conversation Speed

Traditional backtesting workflows are slow. Define a strategy in code, configure data pipelines, run the backtest, parse the output, adjust parameters, rebuild, re-run. Each iteration takes minutes to hours depending on complexity. For systematic teams evaluating dozens of parameter combinations across multiple assets, the iteration cost is the bottleneck.

MCP changes this by putting the backtester inside the conversation. An AI agent can define a strategy, execute it, inspect the results, adjust parameters, and re-run — all within a single session. The bi-directional protocol means the agent refines its approach based on what the data reveals, not what the developer anticipated upfront.

Cross-Asset Strategy Design

Composing Multi-Instrument Strategies

The agent can compose strategies that mix instrument types in a single backtest. Options, futures, perpetuals, and spot — each component with its own entry, exit, side, quantity, and underlying asset. A single backtest can hold BTC options alongside ETH perpetuals alongside SOL spot, with consistent P&L attribution across all legs.

Conversational Iteration

An agent starts broad — "backtest a 30-day ATM straddle on BTC with hourly delta hedging using perpetuals." It inspects the results: Sharpe ratio, max drawdown, win rate, funding costs. Then it narrows — "same strategy but entry only when the 7d/30d term structure spread exceeds 3 points." Then it extends — "add a short ETH 25-delta strangle as a cross-asset hedge." Each iteration builds on the last without rebuilding the pipeline.

Pricing Modes

Theoretical

Prices options using SVI-calibrated implied volatility surfaces, spot prices, and forward curves. Shows what an option should have been worth at each timestamp based on the calibrated surface. Useful for strategies that trade theoretical edge — the model says the option is cheap, so buy it.

Listed

Prices against actual exchange bid-ask quotes. Snaps to the nearest available listed instrument matching the requested strike and tenor. Shows what you would have actually paid. If listed quotes are unavailable, falls back to theoretical with a warning so the backtest never silently gaps.

Running Both

The agent can run the same strategy in both modes and compare. Theoretical P&L minus listed P&L equals the execution cost of the strategy — bid-ask spread, slippage, and the gap between where the model prices and where the market trades. This is the difference between a strategy that works on paper and one that works in production.

Hedging and Funding

Spot and Perpetual Hedges

Options strategies can be delta-hedged with spot or perpetuals. The agent specifies the hedge instrument and rebalance frequency — one-shot at entry, hourly, or any interval. The backtest output separates strategy P&L, hedge P&L, and funding P&L for clean attribution.

Funding Cost Visibility

Perpetual hedges accrue funding costs. The backtester tracks funding P&L separately, so the agent can evaluate whether the carry cost of the hedge erodes the strategy’s edge. An agent can compare spot-hedged versus perp-hedged versions of the same strategy to quantify the funding drag.

Output and Iteration

Each backtest returns per-trade records with entry and exit prices, Greeks, P&L, and funding. Per-instrument summaries show contribution by leg. The overall summary includes net P&L, win rate, Sharpe ratio, and maximum drawdown. Warnings flag any data fallbacks — if a listed price was substituted with theoretical, the agent knows and can factor that into its assessment.

The agent doesn’t just receive results — it interprets them and proposes refinements. Sharpe too low? Tighten the entry filter. Max drawdown too deep? Add a stop-loss or reduce position size. Funding drag eating the edge? Switch the hedge from perpetual to spot. Each cycle takes seconds, not hours.

Coverage

Historical data spans assets including BTC, ETH, SOL, XRP, SUI, ADA, HYPE, DOGE, and more — with the supported universe expanding continuously. Both composite and exchange-specific volatility surfaces are available for theoretical pricing. Listed pricing uses actual exchange quotes from Deribit, Bybit, OKX, GateIO, and additional venues. Multi-year historical depth for strategy development across multiple market regimes.

DocumentationRead how to integrate it

Continue reading

More case studies.

All case studies

Get started

Build this on Block Scholes data. Start on a Data Plan, or talk to us.

Data Plans
As of
BTC SPOT61,913.61−1.71% (since 19 Nov 2026 00:00 UTC)BTC FWD 30D62,155.96−1.75% (since 19 Nov 2026 00:00 UTC)BTC BASIS 30D+39.1bpBTC FUNDING+0.2bp−0.2bp (since 19 Nov 2026 00:00 UTC)BTC ATM 7D46.91%+0.95 vol pts (since 19 Nov 2026 00:00 UTC)BTC 25Δ SKEW 7D−9.34−2.06 vol pts (since 19 Nov 2026 00:00 UTC)BSIV 30D51.82+2.24 vol pts (since 19 Nov 2026 00:00 UTC)ETH SPOT$1,755−1.10% (since 19 Nov 2026 00:00 UTC)ETH ATM 7D60.30%+2.49 vol pts (since 19 Nov 2026 00:00 UTC)ETH 25Δ SKEW 7D−9.28−2.32 vol pts (since 19 Nov 2026 00:00 UTC)HYPE SPOT$66.73−0.27% (since 19 Nov 2026 00:00 UTC)HYPE ATM 7D75.53%+6.57 vol pts (since 19 Nov 2026 00:00 UTC)HYPE 25Δ SKEW 7D−3.76−4.35 vol pts (since 19 Nov 2026 00:00 UTC)SOL SPOT$73.06−0.65% (since 19 Nov 2026 00:00 UTC)SOL ATM 7D69.16%+4.28 vol pts (since 19 Nov 2026 00:00 UTC)SOL 25Δ SKEW 7D−6.32−6.46 vol pts (since 19 Nov 2026 00:00 UTC)XRP SPOT$0.9592−0.74% (since 19 Nov 2026 00:00 UTC)XRP ATM 7D74.59%+1.49 vol pts (since 19 Nov 2026 00:00 UTC)XRP 25Δ SKEW 7D−5.00−1.21 vol pts (since 19 Nov 2026 00:00 UTC)SPX SPOT$7,170−2.49% (since 19 Nov 2026 00:00 UTC)SPX ATM 7D25.40%+3.64 vol pts (since 19 Nov 2026 00:00 UTC)SPX 25Δ SKEW 7D−6.62−1.53 vol pts (since 19 Nov 2026 00:00 UTC)NVDA SPOT$145.78−4.04% (since 19 Nov 2026 00:00 UTC)NVDA ATM 7D60.32%+1.38 vol pts (since 19 Nov 2026 00:00 UTC)NVDA 25Δ SKEW 7D−8.10−1.99 vol pts (since 19 Nov 2026 00:00 UTC)SPCX SPOT$137.03−5.23% (since 19 Nov 2026 00:00 UTC)SPCX ATM 7D59.37%+2.26 vol pts (since 19 Nov 2026 00:00 UTC)SPCX 25Δ SKEW 7D−9.40−2.19 vol pts (since 19 Nov 2026 00:00 UTC)MU SPOT$683.05−4.10% (since 19 Nov 2026 00:00 UTC)MU ATM 7D87.40%+0.93 vol pts (since 19 Nov 2026 00:00 UTC)MU 25Δ SKEW 7D−12.49−2.59 vol pts (since 19 Nov 2026 00:00 UTC)