Show / Hide Table of Contents

Interface ISnapshotStorage

Интерфейс для доступа к хранилищу снэпшотов цен.

Namespace: StockSharp.Algo.Storages
Assembly: StockSharp.Algo.dll
Syntax
public interface ISnapshotStorage

Properties

Dates

Получить все даты, для которых записаны маркет-данные.

Declaration
IEnumerable<DateTime> Dates { get; }
Property Value
Type Description
IEnumerable<DateTime>

Methods

Clear(Object)

Удалить снэпшот для указанного ключа.

Declaration
void Clear(object key)
Parameters
Type Name Description
Object key

Key.

ClearAll()

Очистить хранилище.

Declaration
void ClearAll()

Get(Object)

Получить снэпшот для указанного ключа.

Declaration
Message Get(object key)
Parameters
Type Name Description
Object key

Key.

Returns
Type Description
Message

Snapshot.

GetAll(Nullable<DateTimeOffset>, Nullable<DateTimeOffset>)

Получить все снэпшоты.

Declaration
IEnumerable<Message> GetAll(Nullable<DateTimeOffset> from = null, Nullable<DateTimeOffset> to = null)
Parameters
Type Name Description
Nullable<DateTimeOffset> from

Start date, from which data needs to be retrieved.

Nullable<DateTimeOffset> to

End date, until which data needs to be retrieved.

Returns
Type Description
IEnumerable<Message>

Все снэпшотыщ.

Update(Message)

Обновить снэпшот.

Declaration
void Update(Message message)
Parameters
Type Name Description
Message message

Message.

Extension Methods

Paths.Serialize<T>(T, String)
Paths.Serialize<T>(T)
EditorExtensions.ToItemsSource(Object, Type, Nullable<Boolean>, Nullable<ListSortDirection>, Func<IItemsSourceItem, Boolean>, Func<Object, String>, Func<Object, String>)
XamlHelper.WpfCast<T>(Object)
XamlHelper.CopyToClipboard<T>(T)
XamlHelper.EnsureUIThread(Object)
☀
☾
In This Article
Back to top
Copyright © StockSharp.
☀
☾