OrderSnapshotHolder

StockSharp.Messages

ExecutionMessage order snapshots holder.

Herda de: BaseLogReceiver

Construtores

OrderSnapshotHolder()

Initializes a new instance of the OrderSnapshotHolder.

Propriedades

ThrowOnInvalidStateTransition : bool

Throw exception on invalid order state transition.

Métodos

Process(ExecutionMessage) : ExecutionMessage

Process ExecutionMessage change.

execMsg
ExecutionMessage change.

Retorna: Order snapshot copy. Returns if HasOrderInfo is .

ResetSnapshot(long)

Reset snapshot for the specified transaction id.

transactionId
Transaction ID. Use 0 to clear all snapshots.
TryGetSnapshot(long, ExecutionMessage) : bool

Try get snapshot for the specified transaction id.

transactionId
Transaction ID.
snapshot
Snapshot copy if exists, otherwise .

Retorna: true if snapshot exists; otherwise false.