Interface IMarketDataSerializer<TData>
- Namespace
- StockSharp.Algo.Storages
- Assembly
- StockSharp.Algo.dll
The serializer.
public interface IMarketDataSerializer<TData> : IMarketDataSerializer
Type Parameters
TData
Data type.
- Inherited Members
- Extension Methods
Methods
Deserialize(Stream, IMarketDataMetaInfo)
To load data from the stream.
IEnumerable<TData> Deserialize(Stream stream, IMarketDataMetaInfo metaInfo)
Parameters
stream
StreamThe stream.
metaInfo
IMarketDataMetaInfoMeta-information on data for one day.
Returns
- IEnumerable<TData>
Data.
Serialize(Stream, IEnumerable<TData>, IMarketDataMetaInfo)
Save data into stream.
void Serialize(Stream stream, IEnumerable<TData> data, IMarketDataMetaInfo metaInfo)
Parameters
stream
StreamData stream.
data
IEnumerable<TData>Data.
metaInfo
IMarketDataMetaInfoMeta-information on data for one day.