Class MarketDataStorageCache
- Namespace
- StockSharp.Algo.Storages
- Assembly
- StockSharp.Algo.dll
IMarketDataStorage cache.
public class MarketDataStorageCache : Cloneable<MarketDataStorageCache>
- Inheritance
-
MarketDataStorageCache
- Extension Methods
Constructors
MarketDataStorageCache()
public MarketDataStorageCache()
Properties
Limit
Max count.
public int Limit { get; set; }
Property Value
Methods
Clone()
public override MarketDataStorageCache Clone()
Returns
GetMessages(SecurityId, DataType, DateTime, Func<DateTime, IEnumerable<Message>>)
Get data.
public Message[] GetMessages(SecurityId securityId, DataType dataType, DateTime date, Func<DateTime, IEnumerable<Message>> loadIfNeed)
Parameters
securityId
SecurityIddataType
DataTypedate
DateTimeDate to load.
loadIfNeed
Func<DateTime, IEnumerable<Message>>Handler to load data from real storage.
Returns
- Message[]
Data.