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
SecurityIdSecurity ID.
encoding
EncodingEncoding.
Methods
Read(FastCsvReader, IMarketDataMetaInfo)
Read data from the specified reader.
protected override ExecutionMessage Read(FastCsvReader reader, IMarketDataMetaInfo metaInfo)
Parameters
reader
FastCsvReaderCSV reader.
metaInfo
IMarketDataMetaInfoMeta-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
CsvFileWriterCSV writer.
data
ExecutionMessageData.
metaInfo
IMarketDataMetaInfoMeta-information on data for one day.