MarketDataStorageCache
StockSharp.Algo.Storages
IMarketDataStorage cache.
Properties
Methods
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.
Returns: Data.
Invalidate(SecurityId, DataType, DateTime)
Invalidate cache for specified key.
- securityId
- SecurityId.
- dataType
- DataType.
- date
- Date to invalidate.