investfly.models.indicator.IndicatorParamSpec
@dataclass
class
IndicatorParamSpec:
Class that represents Indicator Parameter Specification
IndicatorParamSpec( paramType: investfly.models.indicator.ParamType, required: bool = True, defaultValue: typing.Any | None = None, options: Optional[List[Any]] = None)
paramType: investfly.models.indicator.ParamType
Parameter Type (INTEGER, FLOAT, BOOLEAN, STRING, BARINTERVAL)
defaultValue: typing.Any | None =
None
The default value for the parameter to auto-populate mainly in UI
options: Optional[List[Any]] =
None
Valid value options (if any). If specified, then in the UI, this parameter renders as a dropdown select list. If left as None, parameter renders and freeform input text field.
PERIOD_VALUES: ClassVar[List[int]] =
[2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 14, 15, 20, 24, 26, 30, 40, 50, 60, 70, 80, 90, 100, 120, 130, 140, 150, 180, 200, 250, 300]