Level1SnapshotHolder
StockSharp.Messages
Level1ChangeMessage snapshots holder.
Inherits: BaseLogReceiver
Implements: ISnapshotHolder<Level1ChangeMessage>
Constructors
Level1SnapshotHolder
public Level1SnapshotHolder()
level1SnapshotHolder = Level1SnapshotHolder()
Initializes a new instance of the Level1SnapshotHolder.
Methods
Process
public Level1ChangeMessage Process(Level1ChangeMessage level1Msg)
result = level1SnapshotHolder.Process(level1Msg)
ResetSnapshot
public void ResetSnapshot(SecurityId securityId)
level1SnapshotHolder.ResetSnapshot(securityId)
Reset snapshot for the specified security.
- securityId
- Security ID.
TryGetSnapshot
public bool TryGetSnapshot(SecurityId securityId, Level1ChangeMessage snapshot)
result = level1SnapshotHolder.TryGetSnapshot(securityId, snapshot)