Execution Simulation Config
Constructors
Properties
Replay closes a quiet symbol's ended bar the way the live heartbeat does: at the first heartbeatIntervalMs step at or after windowEnd + candleCloseGraceMs, in event time (#1138). A tick of the same stream from the next window still closes it immediately. Shares runtime.candle_close_grace_ms with the live daemon.
Minimum gap between consecutive releases on the venue's send lane (com.qkt.broker.SendLane); 0 = none.
Venue position model the simulated broker books (#1071). HEDGING gives every entry its own coexisting position leg with exits closing that leg (the retail-MT5 semantic); NETTING collapses opposite fills into one signed position. The library default stays NETTING so embedded com.qkt.backtest.Backtest callers keep their semantics; the CLI defaults to HEDGING (both production venues hedge) unless --position-mode netting / execution.position_mode says otherwise.
Execution delay applied to protective stops only (#1135): a crossed stop fills at the first quote at or after trigger + stopLatencyMs, sided, plus slippage. Entry latency (latencyMs) delays order placement and does not model this. 0 keeps the on-trigger fill.
Pricing of a gap-crossed protective take-profit (#1135).