Module yata::core[][src]

Some useful features and definitions

Structs

Candle

Simple Candlestick structure for implementing OHLCV

IndicatorResult

Every Indicator proceed an input of OHLCV and returns an IndicatorResult which consist of some returned raw values and some calculated signals.

Window

Some kind of a stack or a buffer of fixed size for remembering timeseries values

Enums

Action

Action is basic type of Indicator’s signals

Error

Crate errors enum

Source

Source enum represents common parts of a Candle

Traits

IndicatorConfig

Each indicator has it’s own Configuration with parameters

IndicatorConfigDyn

Dynamically dispatchable IndicatorConfig

IndicatorInstance

Base trait for implementing indicators State

IndicatorInstanceDyn

Dynamically dispatchable IndicatorInstance

Method

Trait for creating methods for timeseries

OHLCV

Basic trait for implementing Open-High-Low-Close-Volume timeseries data.

Sequence

Implements some methods for sequence manipulations.

Type Definitions

Candlestick

Just an alias for Candle

PeriodType

PeriodType is a type for using on methods and indicators params.

ValueType

Main value type for calculations