OrderSnapshotHolder

StockSharp.Messages

ExecutionMessage order snapshots holder.

継承元: BaseLogReceiver

コンストラクター

OrderSnapshotHolder()

Initializes a new instance of the OrderSnapshotHolder.

プロパティ

ThrowOnInvalidStateTransition : bool

Throw exception on invalid order state transition.

メソッド

Process(ExecutionMessage) : ExecutionMessage

Process ExecutionMessage change.

execMsg
ExecutionMessage change.

戻り値: 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 .

戻り値: true if snapshot exists; otherwise false.