Skip to content

InternalIndicatorValues

QuantConnect.Indicators.InternalIndicatorValues

InternalIndicatorValues(indicator: IIndicator, name: str)

Bases: Object, Iterable[IndicatorDataPoint]

Internal carrier of an indicator values by property name

Creates a new instance

name

name: str

The name of the values associated to this dto

values

values: List[IndicatorDataPoint]

The indicator values

indicator

indicator: IIndicator

The target indicator

This codeEntityType is protected.

create

create(
    indicator: IIndicator, name: str
) -> InternalIndicatorValues
create(
    indicator: IIndicator, property_info: PropertyInfo
) -> InternalIndicatorValues

Creates a new instance

__iter__

__iter__() -> Iterator[IndicatorDataPoint]

get_enumerator

get_enumerator() -> IEnumerator[IndicatorDataPoint]

Returns an enumerator for the indicator values

to_string

to_string() -> str

String representation

update_value

update_value() -> IndicatorDataPoint

Update with a new indicator point