Interactive Examples

Live backtest visualizations generated by cobweb-py. Click any chart to explore — zoom, pan, and hover for details.
Data: AAPL 2020–2024 · Strategy: weighted scoring across 8 features (ret_1d, logret_1d, ret_5d, SMA-20, EMA-12, RSI-14, trend regime, vol regime) · Friction: swing preset

Equity Curve

Performance

Portfolio value over time with realistic friction costs applied.

Equity vs Benchmark

Performance

Strategy equity curve compared against the SPY benchmark.

Rolling Sharpe Ratio

Performance

Risk-adjusted returns over a rolling window.

Drawdown Underwater

Risk

Underwater equity drawdown — how deep and how long.

Trade Return Distribution

Trades

Histogram of individual trade P&L outcomes.

Trade Duration vs Return

Trades

Scatter plot showing how holding period relates to trade outcome.

Volatility Regime

Regime

Strategy performance split by low, medium, and high volatility regimes.

Feature Correlation

Diagnostics

Heatmap of correlations between the 71 technical features.

Price & Score Overlay

Scoring

Composite signal score overlaid on the price chart.

Backtest Metrics

Summary

Full metrics table: Sharpe, Sortino, max drawdown, VaR, trade count, and more.