Lean  $LEAN_TAG$
QuantConnect.Python.PythonConsolidator Class Reference

Provides a base class for python consolidators, necessary to use event handler. More...

Public Member Functions

void OnDataConsolidated (PyObject consolidator, IBaseData data)
 Function to invoke the event handler More...
 

Events

DataConsolidatedHandler DataConsolidated
 Event handler that fires when a new piece of data is produced More...
 

Detailed Description

Provides a base class for python consolidators, necessary to use event handler.

Definition at line 25 of file PythonConsolidator.cs.

Member Function Documentation

◆ OnDataConsolidated()

void QuantConnect.Python.PythonConsolidator.OnDataConsolidated ( PyObject  consolidator,
IBaseData  data 
)

Function to invoke the event handler

Parameters
consolidatorReference to the consolidator itself
dataThe finished data from the consolidator

Definition at line 37 of file PythonConsolidator.cs.

Event Documentation

◆ DataConsolidated

DataConsolidatedHandler QuantConnect.Python.PythonConsolidator.DataConsolidated

Event handler that fires when a new piece of data is produced

Definition at line 30 of file PythonConsolidator.cs.


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