Deferred user-initiated scheduled activate (activateScheduled), or null if none pending
Deferred user-initiated scheduled cancel (cancelScheduled), or null if none pending
Deferred user-initiated close (closePending), or null if none pending
Queued commit events (average-buy / partial-* / trailing-* / breakeven) not yet drained
User-supplied signal DTO scheduled to be consumed by the next getSignal tick instead of params.getSignal (set via createPending / createScheduled), or null if none queued. createPending and createScheduled overwrite the same slot, so only the latest wins.
Id of the pending signal these deferred operations belong to (from _pendingSignal.id), or null if there was no pending signal when the snapshot was written. On restore, the deferred fields are applied only when this matches the restored _pendingSignal.id — otherwise the snapshot belongs to a different/stale position and is discarded.
Deferred broker-confirmed stop-loss fill (createStopLoss), or null if none pending. Set when the external order management system reports the position's SL order was actually filled on the exchange (e.g. by candle high/low) — independent of the VWAP-based SL check. Drained on the next tick/backtest to close the position with closeReason "stop_loss".
Deferred broker-confirmed take-profit fill (createTakeProfit), or null if none pending. Set when the external order management system reports the position's TP order was actually filled on the exchange (e.g. by candle high/low) — independent of the VWAP-based TP check. Drained on the next tick/backtest to close the position with closeReason "take_profit".
Type for persisted deferred strategy state. Snapshot of the in-flight commit queue and deferred user actions that have not yet been forwarded to the broker. Restored on waitForInit after a live crash so the pending broker operations are not silently lost.