Class OrderBookSnapshotHolder
- Namespace
- StockSharp.Server.Core
- Assembly
- StockSharp.Server.Core.dll
QuoteChangeMessage snapshots holder.
public class OrderBookSnapshotHolder : BaseLogReceiver, IPersistable, ILogReceiver, ILogSource, IDisposable, ISnapshotHolder<QuoteChangeMessage>
- Inheritance
-
OrderBookSnapshotHolder
- Implements
-
IPersistable
- Inherited Members
- Extension Methods
Constructors
OrderBookSnapshotHolder()
Initializes a new instance of the OrderBookSnapshotHolder.
public OrderBookSnapshotHolder()
Methods
Process(QuoteChangeMessage, bool)
Process
public QuoteChangeMessage Process(QuoteChangeMessage quoteMsg, bool needResponse)
Parameters
quoteMsg
QuoteChangeMessageneedResponse
boolNeed response value.
Returns
- QuoteChangeMessage
change.
ResetSnapshot(SecurityId)
Reset snapshot for the specified security.
public void ResetSnapshot(SecurityId securityId)
Parameters
securityId
SecurityIdSecurity ID.
TryGetSnapshot(SecurityId)
Try get snapshot for the specified security.
public QuoteChangeMessage TryGetSnapshot(SecurityId securityId)
Parameters
securityId
SecurityIdSecurity ID.
Returns
- QuoteChangeMessage
Snapshot.