CsvParser

StockSharp.Algo.Import

Messages parser from text file in CSV format.

継承元: BaseLogReceiver

コンストラクター

CsvParser(DataType, IEnumerable<FieldMapping>)

Initializes a new instance of the CsvParser.

dataType
Data type info.
fields
Importing fields.

プロパティ

ColumnSeparator : string

Column separator. Tabulation is denoted by TAB.

DataType : DataType

Data type info.

Fields : IEnumerable<FieldMapping>

Importing fields.

IgnoreNonIdSecurities : bool

Ignore securities without identifiers.

LineSeparator : string

Line separator.

SkipFromHeader : int

Number of lines to be skipped from the beginning of the file (if they contain meta information).

メソッド

Parse(Stream) : IAsyncEnumerable<Message>

Parse CSV file.

stream
The file stream.

戻り値: Parsed instances.