Interface IMarketDataSerializer
- Namespace
- StockSharp.Algo.Storages
- Assembly
- StockSharp.Algo.dll
The serializer.
public interface IMarketDataSerializer
- Extension Methods
Properties
Format
Storage format.
StorageFormats Format { get; }
Property Value
TimePrecision
Time precision.
TimeSpan TimePrecision { get; }
Property Value
Methods
CreateMetaInfo(DateTime)
To create empty meta-information.
IMarketDataMetaInfo CreateMetaInfo(DateTime date)
Parameters
date
DateTimeDate.
Returns
- IMarketDataMetaInfo
Meta-information on data for one day.
Deserialize(Stream, IMarketDataMetaInfo)
To load data from the stream.
IEnumerable Deserialize(Stream stream, IMarketDataMetaInfo metaInfo)
Parameters
stream
StreamData stream.
metaInfo
IMarketDataMetaInfoMeta-information on data for one day.
Returns
- IEnumerable
Data.
Serialize(Stream, IEnumerable, IMarketDataMetaInfo)
Save data into stream.
void Serialize(Stream stream, IEnumerable data, IMarketDataMetaInfo metaInfo)
Parameters
stream
StreamData stream.
data
IEnumerableData.
metaInfo
IMarketDataMetaInfoMeta-information on data for one day.