Table of Contents

Class NewsCsvSerializer

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

The news serializer in the CSV format.

public class NewsCsvSerializer : CsvMarketDataSerializer<NewsMessage>, IMarketDataSerializer<NewsMessage>, IMarketDataSerializer
Inheritance
NewsCsvSerializer
Implements
Inherited Members
Extension Methods

Constructors

NewsCsvSerializer()

public NewsCsvSerializer()

Methods

Read(FastCsvReader, IMarketDataMetaInfo)

Read data from the specified reader.

protected override NewsMessage Read(FastCsvReader reader, IMarketDataMetaInfo metaInfo)

Parameters

reader FastCsvReader

CSV reader.

metaInfo IMarketDataMetaInfo

Meta-information on data for one day.

Returns

NewsMessage

Data.

Write(CsvFileWriter, NewsMessage, IMarketDataMetaInfo)

Write data to the specified writer.

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

Parameters

writer CsvFileWriter

CSV writer.

data NewsMessage

Data.

metaInfo IMarketDataMetaInfo

Meta-information on data for one day.