Index
StockSharp.Algo.Storages.LocalMarketDataDrive
Index for fast access to available data in local storage.
Erbt von: CachedSynchronizedDictionary<SecurityId, Dictionary<StorageFormats, Dictionary<DataType, HashSet<DateTime>>>>
Eigenschaften
AvailableSecurities : IEnumerable<SecurityId>
Get all available securities in the index.
Methoden
ChangeDate(SecurityId, StorageFormats, DataType, DateTime, bool)
Add or remove date for the specified security, format and data type.
- secId
- Security ID.
- format
- Storage format.
- dataType
- Data type.
- date
- Date.
- remove
- Remove date if , otherwise add.
GetAvailableDataTypes(SecurityId, StorageFormats) : IEnumerable<DataType>
Get available data types for the specified security and format.
- securityId
- Security ID. If default, returns all data types for the format.
- format
- Storage format.
Rückgabe: Available data types.
GetDates(SecurityId, DataType, StorageFormats) : IEnumerable<DateTime>
Get available dates for the specified security, data type and format.
- securityId
- Security ID.
- dataType
- Data type.
- format
- Storage format.
Rückgabe: Available dates sorted in ascending order.