Interface IMarketDataStorageDrive
- Namespace
- StockSharp.Algo.Storages
- Assembly
- StockSharp.Algo.dll
The interface, describing the storage, associated with IMarketDataStorage.
public interface IMarketDataStorageDrive
- Extension Methods
Properties
Dates
To get all the dates for which market data are recorded.
IEnumerable<DateTime> Dates { get; }
Property Value
Drive
The storage (database, file etc.).
IMarketDataDrive Drive { get; }
Property Value
Methods
ClearDatesCache()
To delete cache-files, containing information on available time ranges.
void ClearDatesCache()
Delete(DateTime)
To remove market data on specified date from the storage.
void Delete(DateTime date)
Parameters
date
DateTimeDate, for which all data shall be deleted.
LoadStream(DateTime, bool)
To load data in the format of StockSharp storage.
Stream LoadStream(DateTime date, bool readOnly = false)
Parameters
Returns
SaveStream(DateTime, Stream)
To save data in the format of StockSharp storage.
void SaveStream(DateTime date, Stream stream)