Represents an indicator that is a ready after ingesting a single sample and always returns the same value as it is given.
More...
|
| Identity (string name) |
| Initializes a new instance of the Identity indicator with the specified name More...
|
|
|
int | WarmUpPeriod => 1 |
| Required period, in data points, for the indicator to be ready and fully initialized More...
|
|
|
override bool | IsReady [get] |
| Gets a flag indicating when this indicator is ready and fully initialized More...
|
|
static int | DefaultWindowSize = 2 [get] |
| The default size of the history window for the indicator More...
|
|
int | WarmUpPeriod [get] |
| Required period, in data points, for the indicator to be ready and fully initialized. More...
|
|
Represents an indicator that is a ready after ingesting a single sample and always returns the same value as it is given.
Definition at line 22 of file Identity.cs.
◆ Identity()
QuantConnect.Indicators.Identity.Identity |
( |
string |
name | ) |
|
Initializes a new instance of the Identity indicator with the specified name
- Parameters
-
name | The name of the indicator |
Definition at line 28 of file Identity.cs.
◆ ComputeNextValue()
override decimal QuantConnect.Indicators.Identity.ComputeNextValue |
( |
IndicatorDataPoint |
input | ) |
|
|
protected |
Computes the next value of this indicator from the given state
- Parameters
-
input | The input given to the indicator |
- Returns
- A new value for this indicator
Definition at line 51 of file Identity.cs.
◆ WarmUpPeriod
int QuantConnect.Indicators.Identity.WarmUpPeriod => 1 |
Required period, in data points, for the indicator to be ready and fully initialized
Definition at line 44 of file Identity.cs.
◆ IsReady
override bool QuantConnect.Indicators.Identity.IsReady |
|
get |
Gets a flag indicating when this indicator is ready and fully initialized
Definition at line 37 of file Identity.cs.
The documentation for this class was generated from the following file: