indicator_collection
indicator_collection
Classes:
| Name | Description |
|---|---|
IndicatorCollection |
Group indicators for direct attribute access on a strategy collection. |
Functions:
| Name | Description |
|---|---|
indicator_field |
Mark a dataclass field as a strategy indicator for IndicatorCollection. |
IndicatorCollection
IndicatorCollection(*indicators: Indicator)
Group indicators for direct attribute access on a strategy collection.
Subclass as a dataclass and mark indicator fields with indicator_field(),
or pass indicators explicitly to __init__.
Source code in hexital/core/indicator_collection.py
indicator_field
Mark a dataclass field as a strategy indicator for IndicatorCollection.