Class Level1SnapshotHolder
- Namespace
- StockSharp.Server.Core
- Assembly
- StockSharp.Server.Core.dll
Level1ChangeMessage snapshots holder.
public class Level1SnapshotHolder : BaseLogReceiver, IPersistable, ILogReceiver, ILogSource, IDisposable, ISnapshotHolder<Level1ChangeMessage>
- Inheritance
-
Level1SnapshotHolder
- Implements
-
IPersistable
- Inherited Members
- Extension Methods
Constructors
Level1SnapshotHolder()
Initializes a new instance of the Level1SnapshotHolder.
public Level1SnapshotHolder()
Methods
Process(Level1ChangeMessage, bool)
Process
public Level1ChangeMessage Process(Level1ChangeMessage level1Msg, bool needResponse)
Parameters
level1Msg
Level1ChangeMessageneedResponse
boolNeed response value.
Returns
- Level1ChangeMessage
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 Level1ChangeMessage TryGetSnapshot(SecurityId securityId)
Parameters
securityId
SecurityIdSecurity ID.
Returns
- Level1ChangeMessage
Snapshot.