Expand description
Some useful features and definitions
Structs
Every Indicator
proceed an input of OHLCV
and returns an IndicatorResult
which consist of some returned raw values and some calculated signals.
Window is a circular buffer where both
start
and end
pointers always point to a single element.
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 Definitions
Just an alias for Candle
PeriodType
is a type for using on methods and indicators params.
Main value type for calculations