MarketDataStorageCache

StockSharp.Algo.Storages

IMarketDataStorage cache.

Propiedades

Limit : int

Max count.

Métodos

GetMessagesAsync``1(SecurityId, DataType, DateTime, Func<DateTime, T>)

Get data asynchronously.

securityId
SecurityId.
dataType
DataType.
date
Date to load.
loadIfNeed
Handler to load data from real storage.

Devuelve: Data.

Invalidate(SecurityId, DataType, DateTime)

Invalidate cache for specified key.

securityId
SecurityId.
dataType
DataType.
date
Date to invalidate.