5. Simulation mode

Last updated:

A simulated bot consumes the venue real prices but sends no orders: it fills them in memory. It charges fees and applies slippage, so the result is not artificially optimistic.

What simulation does not reproduce:

  • Book depth: an order fills in full the moment its price is touched.
  • Queue priority for post-only orders.
  • Liquidation by the venue.

The mode is fixed at creation and cannot be changed: mixing simulated and live fills in one history would make its PnL meaningless.