TSLab API Docs  1
TSLab.Script.TradeStatisticsCache Class Reference
Inheritance diagram for TSLab.Script.TradeStatisticsCache:
TSLab.Script.BaseCache TSLab.Script.ITradeStatisticsCache TSLab.Script.IBaseCache TSLab.Script.IBaseCache

Public Member Functions

IReadOnlyList< UnrefreshableTradeHistogramGetHistograms (string id, string stateId, TradeHistogramSettings histogramSettings, IEnumerable< TradeHistogramArguments > histogramArgumentsList)
 
AllTimeTradeStatistics GetAllTimeTradeStatistics (string id, string stateId, ITradeHistogramsCache tradeHistogramsCache)
 
void Clear ()
 
- Public Member Functions inherited from TSLab.Script.BaseCache
void Refresh ()
 

Static Public Attributes

static readonly ITradeStatisticsCache Instance = new TradeStatisticsCache()
 

Protected Member Functions

override void Refresh (ICollection< string > idsToRemove)
 

Additional Inherited Members

- Static Protected Member Functions inherited from TSLab.Script.BaseCache
static void Refresh< TTradeStatisticsContext > (ReaderWriterLockSlim tradeStatisticsContextsMapLock, IDictionary< string, TTradeStatisticsContext > tradeStatisticsContextsMap, ICollection< string > idsToRemove)
 
static bool Equals (IDataBar dataBar1, IDataBar dataBar2)