Table of Contents

Interface ISnapshotStorage

Namespace
StockSharp.Algo.Storages
Assembly
StockSharp.Algo.dll

The interface for access to the storage of snapshot prices.

public interface ISnapshotStorage
Extension Methods

Properties

Dates

To get all the dates for which market data are recorded.

IEnumerable<DateTime> Dates { get; }

Property Value

IEnumerable<DateTime>

Methods

Clear(object)

Remove snapshot for the specified key.

void Clear(object key)

Parameters

key object

Key.

ClearAll()

Clear storage.

void ClearAll()

Get(object)

Get snapshot for the specified key.

Message Get(object key)

Parameters

key object

Key.

Returns

Message

Snapshot.

GetAll(DateTimeOffset?, DateTimeOffset?)

Get all snapshots.

IEnumerable<Message> GetAll(DateTimeOffset? from = null, DateTimeOffset? to = null)

Parameters

from DateTimeOffset?

Start date, from which data needs to be retrieved.

to DateTimeOffset?

End date, until which data needs to be retrieved.

Returns

IEnumerable<Message>

All snapshots.

Update(Message)

Update snapshot.

void Update(Message message)

Parameters

message Message

Message.