Interactive Production-Engine Backtest

Backtest the Deleverage Shield on Your Own Data

Upload your own historical price CSVs for up to five tokens and run the engine that runs your portfolio: Proteus (v18), the vol-scaled adaptive Deleverage Shield, against plain Buy & Hold. Both get identical DCA capital on the same schedule, so the only difference you see is the exposure control itself — how far the shield pulls risk off the table in stress, and what that costs in upside.

Your CSV file never leaves your machine: it is parsed in your browser, and only the resulting price series is sent to the engine, where it is processed in-memory and discarded — never stored, never logged. The run happens on the server because the modulator's parameters stay there and are never shipped to the browser. Results are scored on risk-adjusted return (Sharpe and Calmar), not on whether they beat Buy & Hold in raw percent.

PROTEUS (v18) IS LIVE This tab runs one engine: Proteus (v18), the production shield — the same volatility-scaled adaptive code path a live portfolio is replayed through every day, with thresholds that auto-tune to both calm large-cap baskets and high-vol alt baskets. The former Aegis (v14) comparison leg is retired from the backtest; v14 still runs in production only as a warm-up fallback for portfolios too young to calibrate the adaptive threshold.

Hypothetical results. This page computes a simulation from the price history you upload. A backtest applies a strategy to the past with complete knowledge of how that period turned out — knowledge nobody had at the time — and it ignores slippage, spreads and taxes, though it does charge a simulated 0.1% exchange fee on every rebalance, DCA buy and redeployment. Hypothetical and past performance is not a reliable indicator of future results. AQMath is software for your own analysis: it is not investment advice, not a recommendation to buy or sell any asset, and it never places orders or holds funds.

--deleverage-backtesting
How it works: Upload historical price CSVs for your tokens (up to 5). Every run executes the production engine — Proteus (v18), volatility-scaled dynamic thresholds with V-bounce re-entry — on your basket, capital and DCA schedule, next to Buy & Hold, which buys tokens unconditionally and stays fully exposed. The basket follows the same 180-day macro loop as production — a KKT risk-parity re-optimisation every 180 days on the trailing 180-day window. Both legs charge the same simulated fees and redeploy parked DCA cash the same way, and results are scored on risk-adjusted return (Sharpe and Calmar), not on beating Buy & Hold.
vol-scaled band asymmetric ramp TRAILING SIGMA 60d downside deviation DYNAMIC THRESHOLDS dd_ref = clamp(K · σ) target = 1 − risk continuous · impulse floor EXPOSURE fast exit · V-bounce re-entry vol-scaled adaptive modulator · Proteus v18 no indicators · no timers · no correlation gate
--price-data
CSV format: Header with date column (event_date/date/Date) + price column (close_price_usd/Close/price). Equal-weighted portfolio.
Token 1
Drop CSV or click
Token 2
Drop CSV or click
Token 3
Drop CSV or click
Token 4
Drop CSV or click
Token 5
Drop CSV or click
--backtest-settings
--changelog