Expand description
Core Indicator trait and IndicatorOutput type.
Mirrors indicators/base.py:
Indicator↔class Indicator(Component, ABC)IndicatorOutput↔pd.DataFramereturn valuerequired_columns()↔@classmethod required_columns()calculate()↔def calculate(self, data, price_column)
Every indicator in trend/, momentum/, volume/, and other/
must implement this trait. The registry (registry.rs) stores
Box<dyn Indicator> values so they can be created by name at
runtime, matching Python’s @register_indicator / IndicatorRegistry.
Structs§
- Indicator
Output - Named column output, analogous to
pd.DataFramereturned by Pythoncalculate().
Enums§
- Price
Column - Which single OHLCV field to extract as a price series.
Traits§
- Indicator
- The core trait every indicator must implement.