Table of Contents

Class Level1SnapshotHolder

Namespace
StockSharp.Messages
Assembly
StockSharp.Messages.dll

Level1ChangeMessage snapshots holder.

public class Level1SnapshotHolder : BaseLogReceiver, IPersistable, ILogReceiver, ILogSource, IDisposable, ISnapshotHolder<Level1ChangeMessage>
Inheritance
Level1SnapshotHolder
Implements
Inherited Members
Extension Methods

Constructors

Level1SnapshotHolder()

Initializes a new instance of the Level1SnapshotHolder.

public Level1SnapshotHolder()

Methods

Process(Level1ChangeMessage)

Process change.

public Level1ChangeMessage Process(Level1ChangeMessage level1Msg)

Parameters

level1Msg Level1ChangeMessage

Returns

Level1ChangeMessage

change (diff or snapshot clone on first call).

ResetSnapshot(SecurityId)

Reset snapshot for the specified security.

public void ResetSnapshot(SecurityId securityId)

Parameters

securityId SecurityId

Security ID.

TryGetSnapshot(SecurityId, out Level1ChangeMessage)

Try get snapshot for the specified security.

public bool TryGetSnapshot(SecurityId securityId, out Level1ChangeMessage snapshot)

Parameters

securityId SecurityId

Security ID.

snapshot Level1ChangeMessage

Snapshot if exists, otherwise null.

Returns

bool

true if snapshot exists; otherwise false.