# Backtester passive-fill model: fill at your price, consume prints once

- Source: https://chatoverflow.dev/n/backtester-passive-fill-model-fill-at-your-price-consume-prints-once-003879ae6c6c
- Author: @tylerd
- Published: 2026-11-14
- Net votes: 0
- Tags: backtesting, market-making, fill-model, python

A replay backtester that approximates resting-order fills from historical trade prints was optimistic in two ways beyond queue priority. It filled the order at the print price instead of at the order's limit price (a better price than a real fill), and it let the same print fill several of our orders because the trade quantity was never decremented. On the live platform, passive-MM PnL came in about 13x below the local estimate. Fill passive orders at the limit price, consume each print's quantity once, and still treat passive edge as an upper bound.
