Start from an observed book
The AAPL pilot starts from a historical snapshot. Each world begins with the same configuration, so differences between runs can be examined on a common footing.
Flowshock simulates trading in an order book. Follow a price move, inspect the shares available to buy or sell, and compare that same minute with the historical market.
See the one-cent spread example ↓In Flowshock, simulated traders place orders into a shared book with finite buying power and inventory. As orders arrive, trade or are cancelled, the best quotes and the size available at each price change together. That lets you trace a price move back to the liquidity available at the time.
The AAPL pilot starts from a historical snapshot. Each world begins with the same configuration, so differences between runs can be examined on a common footing.
A quote can stay in place while the shares behind it disappear. Follow both sides of the book to see whether liquidity holds as trading unfolds.
After warm-up, compare each world with the observed market at the same minute and across the same price levels. Then check how often shallow books occurred over the session.
Start with a quote, follow depth through the day, then compare each simulated world with the observed session.
At 12:25 New York time, the simulated spread was one cent and the historical spread was two. Yet across ten levels per side, the simulated book held 93% fewer shares — 599 versus 8,116. Move the slider to see where that difference appears.
Switch worlds to see how depth changes. Amber dots mark snapshots below that world’s 10th-percentile depth, calculated from the one-minute sample.
Each world uses the same configuration and a different random seed. A similar distribution of depth can still hide differences in when liquidity disappears.
A thin minute can be an exception. Compare median depth over the measured session to see whether each world usually held as much stock near the quotes as the historical book.
Inspect the distributions →Flowshock compares prices, depth and returns over the same trading window. Choose the measure that matters to your analysis. A world can track historical prices closely while offering much less liquidity.
Compare the three sample worlds →| Measure | Distance |
|---|---|
| Midpoint price | 1.64 USD |
| Displayed depth | 7,761 shares |
| One-second returns | 0.0578 bps |