Backtesting Lab

When Should a Simulated Bot Pause?

The bot may place an order only with a quote at most 3 seconds old and a confirmed position state. The position state is unconfirmed after reconnecting, and the quote is 1 second old.

The bot may place an order only with a quote at most 3 seconds old and a confirmed position state. The position state is unconfirmed after reconnecting, and the quote is 1 second old.

quote_age_seconds = 1
position_confirmed = False