Lean  $LEAN_TAG$
QuantConnect.ToolBox.CsvDataProcessor Class Reference

Provides an implementation of IDataProcessor that writes the incoming stream of data to a csv file. More...

Inheritance diagram for QuantConnect.ToolBox.CsvDataProcessor:
[legend]

Public Member Functions

 CsvDataProcessor (string dataDirectory, Resolution resolution, TickType tickType)
 Initializes a new instance of the CsvDataProcessor class More...
 
void Process (IBaseData data)
 Invoked for each piece of data from the source file More...
 
void Dispose ()
 Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. More...
 

Detailed Description

Provides an implementation of IDataProcessor that writes the incoming stream of data to a csv file.

Definition at line 29 of file CsvDataProcessor.cs.

Constructor & Destructor Documentation

◆ CsvDataProcessor()

QuantConnect.ToolBox.CsvDataProcessor.CsvDataProcessor ( string  dataDirectory,
Resolution  resolution,
TickType  tickType 
)

Initializes a new instance of the CsvDataProcessor class

Parameters
dataDirectoryThe root data directory, /Data
resolutionThe resolution being sent into the Process method
tickTypeThe tick type, trade or quote

Definition at line 45 of file CsvDataProcessor.cs.

Member Function Documentation

◆ Process()

void QuantConnect.ToolBox.CsvDataProcessor.Process ( IBaseData  data)

Invoked for each piece of data from the source file

Parameters
dataThe data to be processed

Implements QuantConnect.ToolBox.IDataProcessor.

Definition at line 57 of file CsvDataProcessor.cs.

Here is the call graph for this function:

◆ Dispose()

void QuantConnect.ToolBox.CsvDataProcessor.Dispose ( )

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Definition at line 79 of file CsvDataProcessor.cs.


The documentation for this class was generated from the following file: