OrderSnapshotHolder

StockSharp.Messages

ExecutionMessage order snapshots holder.

Hereda de: BaseLogReceiver

Constructores

OrderSnapshotHolder()

Initializes a new instance of the OrderSnapshotHolder.

Propiedades

ThrowOnInvalidStateTransition : bool

Throw exception on invalid order state transition.

Métodos

Process(ExecutionMessage) : ExecutionMessage

Process ExecutionMessage change.

execMsg
ExecutionMessage change.

Devuelve: 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 .

Devuelve: true if snapshot exists; otherwise false.