_IndicatorExtensions_Of
QuantConnect.Indicators._IndicatorExtensions_Of
__call__
__call__(
second: Any,
first: Any,
wait_for_first_to_ready: bool = True,
) -> IndicatorBase
Configures the second indicator to receive automatic updates from the first by attaching an event handler to first.DataConsolidated
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
second
|
Any
|
The indicator that receives data from the first |
required |
first
|
Any
|
The indicator that sends data via DataConsolidated even to the second |
required |
wait_for_first_to_ready
|
bool
|
True to only send updates to the second if first.IsReady returns true, false to always send updates to second |
True
|
Returns:
| Type | Description |
|---|---|
IndicatorBase
|
The reference to the second indicator to allow for method chaining. |
__getitem__
__getitem__(
type: Type[
QuantConnect_Indicators_IndicatorExtensions_Of_T
],
) -> _Typed_IndicatorExtensions_Of[
QuantConnect_Indicators_IndicatorExtensions_Of_T
]