investfly.models.indicator.IndicatorSpec
Public metadata contract for a custom indicator.
class
IndicatorSpec:
Describe a custom indicator's identity, output type, and parameters.
Attributes:
- indicatorId: Runtime identifier assigned from the indicator class.
- name: User-visible indicator name.
- description: Concise explanation shown in authoring interfaces.
- valueType: Shape of each computed value.
- params: Accepted parameter specifications keyed by parameter name.
def
addParam( self, paramName: str, paramSpec: investfly.models.indicator.IndicatorParamSpec) -> None:
Declare a named parameter accepted by the custom indicator.