OrderSnapshotHolder

StockSharp.Messages

ExecutionMessage order snapshots holder.

Erbt von: BaseLogReceiver

Konstruktoren

OrderSnapshotHolder()

Initializes a new instance of the OrderSnapshotHolder.

Eigenschaften

ThrowOnInvalidStateTransition : bool

Throw exception on invalid order state transition.

Methoden

Process(ExecutionMessage) : ExecutionMessage

Process ExecutionMessage change.

execMsg
ExecutionMessage change.

Rückgabe: 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 .

Rückgabe: true if snapshot exists; otherwise false.