Table of Contents

Class MarketDataStorageCache

Namespace
StockSharp.Algo.Storages
Assembly
StockSharp.Algo.dll
public class MarketDataStorageCache : Cloneable<MarketDataStorageCache>
Inheritance
MarketDataStorageCache
Extension Methods

Constructors

MarketDataStorageCache()

public MarketDataStorageCache()

Properties

Limit

Max count.

public int Limit { get; set; }

Property Value

int

Methods

Clone()

public override MarketDataStorageCache Clone()

Returns

MarketDataStorageCache

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 SecurityId

SecurityId.

dataType DataType

DataType.

date DateTime

Date to load.

loadIfNeed Func<DateTime, IEnumerable<Message>>

Handler to load data from real storage.

Returns

Message[]

Data.