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
FastCsvReaderCSV reader.
metaInfo
IMarketDataMetaInfoMeta-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
CsvFileWriterCSV writer.
data
NewsMessageData.
metaInfo
IMarketDataMetaInfoMeta-information on data for one day.