Table of Contents

Class TickCsvSerializer

Namespace
StockSharp.Algo.Storages.Csv
Assembly
StockSharp.Algo.dll

The tick serializer in the CSV format.

public class TickCsvSerializer : CsvMarketDataSerializer<ExecutionMessage>, IMarketDataSerializer<ExecutionMessage>, IMarketDataSerializer
Inheritance
TickCsvSerializer
Implements
Inherited Members
Extension Methods

Constructors

TickCsvSerializer(SecurityId, Encoding)

Initializes a new instance of the TickCsvSerializer.

public TickCsvSerializer(SecurityId securityId, Encoding encoding = null)

Parameters

securityId SecurityId

Security ID.

encoding Encoding

Encoding.

Methods

CreateMetaInfo(DateTime)

To create empty meta-information.

public override IMarketDataMetaInfo CreateMetaInfo(DateTime date)

Parameters

date DateTime

Date.

Returns

IMarketDataMetaInfo

Meta-information on data for one day.

Read(FastCsvReader, IMarketDataMetaInfo)

Read data from the specified reader.

protected override ExecutionMessage Read(FastCsvReader reader, IMarketDataMetaInfo metaInfo)

Parameters

reader FastCsvReader

CSV reader.

metaInfo IMarketDataMetaInfo

Meta-information on data for one day.

Returns

ExecutionMessage

Data.

Write(CsvFileWriter, ExecutionMessage, IMarketDataMetaInfo)

Write data to the specified writer.

protected override void Write(CsvFileWriter writer, ExecutionMessage data, IMarketDataMetaInfo metaInfo)

Parameters

writer CsvFileWriter

CSV writer.

data ExecutionMessage

Data.

metaInfo IMarketDataMetaInfo

Meta-information on data for one day.