Enum trade_aggregation::FeatureModules[][src]

pub enum FeatureModules {
Show 13 variants Open, High, Low, Close, Volume, ArithmeticMeanPrice, WeightedPrice, NumTrades, DirectionalTradeRatio, DirectionalVolumeRatio, StdDevPrices, StdDevSizes, TimeVelocity,
}
Expand description

enumeration of all available features

Variants

Open

The open price of a candle

High

The high price of a candle

Low

The low price of a candle

Close

The close price of a candle

Volume

The sum of trade sizes of a candle

ArithmeticMeanPrice

Equally weighted price of a candle

WeightedPrice

Volume weighted price of a candle

NumTrades

Number of trades that happened during that candle

DirectionalTradeRatio

#buys / #trades

DirectionalVolumeRatio

buy_volume / total_volume

StdDevPrices

Standard deviation of prices from trades that happened during the candle

StdDevSizes

Standard deviation of sizes from trades that happened during the candle

TimeVelocity

Measures the speed of candle creation: 1.0 / elapsed_m

Implementations

Return the associated boxed Struct for a module

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.