Interactive backtester
The real Rust engine, compiled to WebAssembly and run in your browser, replays the bundled sample market through run_backtest. At the native config it reproduces the binary's numbers bit-for-bit (net 44,086,018). Tune the notional, the cost model, and the risk gate: raise the costs enough and the once-profitable trade flips to skipped. Everything here is a simulation, read-only, no funds at risk.
lorenz/backtester
real WASM engine · in-browser · run_backtest
Bundled sample market: SOL/USDC/BONK triangular mispricing. The first snapshot carries a real arb; the second is efficient. Push the costs up (or raise min_profit) and watch the trade flip from submitted to skipped.
trade size routed through the cycle
borrow cost on the notional
modeled slippage charged on every hop
fixed compute-priority fee
fixed bundle tip
risk gate: skip trades whose net is below this
Deterministic replay: reproduces the native binary's numbers bit-for-bit.
Simulation / read-only. No live trading, no funds at risk.
Experimental. No profitability claims.
