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
- 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
quoteMsgQuoteChangeMessageneedResponseboolNeed response value.
Returns
- QuoteChangeMessage
change.
ResetSnapshot(SecurityId)
Reset snapshot for the specified security.
public void ResetSnapshot(SecurityId securityId)
Parameters
securityIdSecurityIdSecurity ID.
TryGetSnapshot(SecurityId)
Try get snapshot for the specified security.
public QuoteChangeMessage TryGetSnapshot(SecurityId securityId)
Parameters
securityIdSecurityIdSecurity ID.
Returns
- QuoteChangeMessage
Snapshot.