Lean  $LEAN_TAG$
QuantConnect.Data.IndicatorHistory Class Reference

Provides historical values of an indicator More...

Inheritance diagram for QuantConnect.Data.IndicatorHistory:
[legend]

Public Member Functions

 IndicatorHistory (List< IndicatorDataPoints > indicatorsDataPointsByTime, List< InternalIndicatorValues > indicatorsDataPointPerProperty, Lazy< PyObject > dataframe)
 Creates a new instance More...
 
- Public Member Functions inherited from QuantConnect.Data.DataHistory< IndicatorDataPoints >
 DataHistory (IEnumerable< T > data, Lazy< PyObject > dataframe)
 Creates a new instance More...
 
override string ToString ()
 Default to string implementation More...
 
IEnumerator< T > GetEnumerator ()
 Returns an enumerator for the data More...
 

Public Attributes

List< IndicatorDataPointCurrent => this["current"]
 The indicators historical values More...
 
- Public Attributes inherited from QuantConnect.Data.DataHistory< IndicatorDataPoints >
int Count
 The current data point count More...
 
PyObject DataFrame
 This data pandas data frame More...
 

Properties

List< IndicatorDataPointthis[string name] [get]
 Access the historical indicator values per indicator property name More...
 
- Properties inherited from QuantConnect.Data.DataHistory< IndicatorDataPoints >
IEnumerable< T > Data [get]
 The data we hold More...
 

Detailed Description

Provides historical values of an indicator

Definition at line 27 of file IndicatorHistory.cs.

Constructor & Destructor Documentation

◆ IndicatorHistory()

QuantConnect.Data.IndicatorHistory.IndicatorHistory ( List< IndicatorDataPoints indicatorsDataPointsByTime,
List< InternalIndicatorValues indicatorsDataPointPerProperty,
Lazy< PyObject >  dataframe 
)

Creates a new instance

Parameters
indicatorsDataPointsByTimeIndicators data points by time
indicatorsDataPointPerPropertyIndicators data points by property name
dataframeThe lazy data frame constructor

Definition at line 42 of file IndicatorHistory.cs.

Member Data Documentation

◆ Current

List<IndicatorDataPoint> QuantConnect.Data.IndicatorHistory.Current => this["current"]

The indicators historical values

Definition at line 34 of file IndicatorHistory.cs.

Property Documentation

◆ this[string name]

List<IndicatorDataPoint> QuantConnect.Data.IndicatorHistory.this[string name]
get

Access the historical indicator values per indicator property name

Definition at line 53 of file IndicatorHistory.cs.


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