Expand description
Some useful features and definitions
Structs§
- Simple Candlestick structure for implementing
OHLCV
- Every
Indicator
proceed an input ofOHLCV
and returns anIndicatorResult
which consist of some returned raw values and some calculated signals.
Enums§
- Action is basic type of Indicator’s signals
- Crate errors enum
- Source enum represents common parts of a Candle
Traits§
- Each indicator has it’s own Configuration with parameters
- Dynamically dispatchable
IndicatorConfig
- Base trait for implementing indicators State
- Dynamically dispatchable
IndicatorInstance
- Trait for creating methods for timeseries
- Marker trait for any moving average
- Trait for dynamically creation of moving average instances based on it’s type and period
- Basic trait for implementing Open-High-Low-Close-Volume timeseries data.
- Implements some methods for sequence manipulations.
Type Aliases§
- Just an alias for Candle
PeriodType
is a type for using on methods and indicators params.- Main value type for calculations