Table of Contents

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 change.

public QuoteChangeMessage Process(QuoteChangeMessage quoteMsg, bool needResponse)

Parameters

quoteMsg QuoteChangeMessage
needResponse bool

Need response value.

Returns

QuoteChangeMessage

change.

ResetSnapshot(SecurityId)

Reset snapshot for the specified security.

public void ResetSnapshot(SecurityId securityId)

Parameters

securityId SecurityId

Security ID.

TryGetSnapshot(SecurityId)

Try get snapshot for the specified security.

public QuoteChangeMessage TryGetSnapshot(SecurityId securityId)

Parameters

securityId SecurityId

Security ID.

Returns

QuoteChangeMessage

Snapshot.