Table of Contents

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 Stream

The stream.

metaInfo IMarketDataMetaInfo

Meta-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 Stream

Data stream.

data IEnumerable<TData>

Data.

metaInfo IMarketDataMetaInfo

Meta-information on data for one day.