Table of Contents

Class TransactionCsvSerializer

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

The transaction serializer in the CSV format.

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

Constructors

TransactionCsvSerializer(SecurityId, Encoding)

Initializes a new instance of the TransactionCsvSerializer.

public TransactionCsvSerializer(SecurityId securityId, Encoding encoding = null)

Parameters

securityId SecurityId

Security ID.

encoding Encoding

Encoding.

Methods

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.