Lean  $LEAN_TAG$
QuantConnect.Indicators.MultiSymbolIndicator< TInput >.SymbolData Class Reference

Contains the data points, the current input and other relevant indicator data for a symbol. More...

Public Member Functions

 SymbolData (Symbol symbol, int period)
 Initializes a new instance of the SymbolData class. More...
 
void Reset ()
 Resets this symbol data to its initial state More...
 
void SetResolution (Resolution resolution)
 Sets the resolution for this symbol data, to be used for time alignment. More...
 

Properties

DateTimeZone ExchangeTimeZone [get]
 The exchange time zone for the security represented by this symbol. More...
 
RollingWindow< TInput > DataPoints [get]
 Data points for the symbol. This only hold the data points that have been used to calculate the indicator, which are those that had matching end times for every symbol. More...
 
TInput? CurrentInput [get, set]
 The last input data point for the symbol. More...
 
DateTime CurrentInputEndTimeUtc [get]
 The end time of the last input data point for the symbol in UTC. More...
 

Events

EventHandler< TInput > NewInput
 Event that fires when a new input data point is set for the symbol. More...
 

Detailed Description

Contains the data points, the current input and other relevant indicator data for a symbol.

Definition at line 149 of file MultiSymbolIndicator.cs.

Constructor & Destructor Documentation

◆ SymbolData()

QuantConnect.Indicators.MultiSymbolIndicator< TInput >.SymbolData.SymbolData ( Symbol  symbol,
int  period 
)

Initializes a new instance of the SymbolData class.

Definition at line 202 of file MultiSymbolIndicator.cs.

Here is the call graph for this function:

Member Function Documentation

◆ Reset()

void QuantConnect.Indicators.MultiSymbolIndicator< TInput >.SymbolData.Reset ( )

Resets this symbol data to its initial state

Definition at line 211 of file MultiSymbolIndicator.cs.

◆ SetResolution()

void QuantConnect.Indicators.MultiSymbolIndicator< TInput >.SymbolData.SetResolution ( Resolution  resolution)

Sets the resolution for this symbol data, to be used for time alignment.

Definition at line 240 of file MultiSymbolIndicator.cs.

Property Documentation

◆ ExchangeTimeZone

DateTimeZone QuantConnect.Indicators.MultiSymbolIndicator< TInput >.SymbolData.ExchangeTimeZone
get

The exchange time zone for the security represented by this symbol.

Definition at line 159 of file MultiSymbolIndicator.cs.

◆ DataPoints

RollingWindow<TInput> QuantConnect.Indicators.MultiSymbolIndicator< TInput >.SymbolData.DataPoints
get

Data points for the symbol. This only hold the data points that have been used to calculate the indicator, which are those that had matching end times for every symbol.

Definition at line 166 of file MultiSymbolIndicator.cs.

◆ CurrentInput

TInput? QuantConnect.Indicators.MultiSymbolIndicator< TInput >.SymbolData.CurrentInput
getset

The last input data point for the symbol.

Definition at line 172 of file MultiSymbolIndicator.cs.

◆ CurrentInputEndTimeUtc

DateTime QuantConnect.Indicators.MultiSymbolIndicator< TInput >.SymbolData.CurrentInputEndTimeUtc
get

The end time of the last input data point for the symbol in UTC.

Definition at line 197 of file MultiSymbolIndicator.cs.

Event Documentation

◆ NewInput

EventHandler<TInput> QuantConnect.Indicators.MultiSymbolIndicator< TInput >.SymbolData.NewInput

Event that fires when a new input data point is set for the symbol.

Definition at line 192 of file MultiSymbolIndicator.cs.


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