A price-only backtest quietly assumes you can trade at the mid-price for free. Real fills pay the half-spread, move the book, and miss when liquidity thins out. This notebook builds a microstructure transaction-cost model — half-spread plus market impact — from Aperiodic's L1 price, impact, and slippage metrics, checks it against measured slippage, and shows how different cost assumptions reshape the same simple momentum backtest.
Pre-executed results — free to run on preview data, or use the CLI with DEMO-KEY.
Browse the catalog and pull point-in-time microstructure metrics — no L2 reconstruction, no tick archive to maintain.
Every notebook runs end to end on preview data with a free account, in the browser or through the CLI.
Swap the preview key for your own and the same code pulls the full history through the Python package or the API.
Stop backtesting fantasy fills. Price in slippage, impact and funding with point-in-time metrics.