ISnapshotHolder
StockSharp.Messages
Interface, described snapshots holder.
Methods
Process
public TMessage Process(TMessage change)
result = iSnapshotHolder.Process(change)
Process change.
- change
- change.
Returns: change (diff or snapshot clone on first call).
ResetSnapshot
public void ResetSnapshot(SecurityId securityId)
iSnapshotHolder.ResetSnapshot(securityId)
Reset snapshot for the specified security.
- securityId
- Security ID.
TryGetSnapshot
public bool TryGetSnapshot(SecurityId securityId, TMessage snapshot)
result = iSnapshotHolder.TryGetSnapshot(securityId, snapshot)
Try get snapshot for the specified security.
- securityId
- Security ID.
- snapshot
- Snapshot if exists, otherwise .
Returns: true if snapshot exists; otherwise false.