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.