pub struct IndicatorsSummary {Show 52 fields
pub sma_10: Option<f64>,
pub sma_20: Option<f64>,
pub sma_50: Option<f64>,
pub sma_100: Option<f64>,
pub sma_200: Option<f64>,
pub ema_10: Option<f64>,
pub ema_20: Option<f64>,
pub ema_50: Option<f64>,
pub ema_100: Option<f64>,
pub ema_200: Option<f64>,
pub wma_10: Option<f64>,
pub wma_20: Option<f64>,
pub wma_50: Option<f64>,
pub wma_100: Option<f64>,
pub wma_200: Option<f64>,
pub dema_20: Option<f64>,
pub tema_20: Option<f64>,
pub hma_20: Option<f64>,
pub vwma_20: Option<f64>,
pub alma_9: Option<f64>,
pub mcginley_dynamic_20: Option<f64>,
pub rsi_14: Option<f64>,
pub stochastic: Option<StochasticData>,
pub cci_20: Option<f64>,
pub williams_r_14: Option<f64>,
pub stochastic_rsi: Option<StochasticData>,
pub roc_12: Option<f64>,
pub momentum_10: Option<f64>,
pub cmo_14: Option<f64>,
pub awesome_oscillator: Option<f64>,
pub coppock_curve: Option<f64>,
pub macd: Option<MacdData>,
pub adx_14: Option<f64>,
pub aroon: Option<AroonData>,
pub supertrend: Option<SuperTrendData>,
pub ichimoku: Option<IchimokuData>,
pub parabolic_sar: Option<f64>,
pub bull_bear_power: Option<BullBearPowerData>,
pub elder_ray_index: Option<ElderRayData>,
pub bollinger_bands: Option<BollingerBandsData>,
pub atr_14: Option<f64>,
pub keltner_channels: Option<KeltnerChannelsData>,
pub donchian_channels: Option<DonchianChannelsData>,
pub true_range: Option<f64>,
pub choppiness_index_14: Option<f64>,
pub obv: Option<f64>,
pub mfi_14: Option<f64>,
pub cmf_20: Option<f64>,
pub chaikin_oscillator: Option<f64>,
pub accumulation_distribution: Option<f64>,
pub vwap: Option<f64>,
pub balance_of_power: Option<f64>,
}Expand description
Summary of all calculated technical indicators
Fields§
§sma_10: Option<f64>Simple Moving Average (10-period)
sma_20: Option<f64>Simple Moving Average (20-period)
sma_50: Option<f64>Simple Moving Average (50-period)
sma_100: Option<f64>Simple Moving Average (100-period)
sma_200: Option<f64>Simple Moving Average (200-period)
ema_10: Option<f64>Exponential Moving Average (10-period)
ema_20: Option<f64>Exponential Moving Average (20-period)
ema_50: Option<f64>Exponential Moving Average (50-period)
ema_100: Option<f64>Exponential Moving Average (100-period)
ema_200: Option<f64>Exponential Moving Average (200-period)
wma_10: Option<f64>Weighted Moving Average (10-period)
wma_20: Option<f64>Weighted Moving Average (20-period)
wma_50: Option<f64>Weighted Moving Average (50-period)
wma_100: Option<f64>Weighted Moving Average (100-period)
wma_200: Option<f64>Weighted Moving Average (200-period)
dema_20: Option<f64>Double Exponential Moving Average (20-period)
tema_20: Option<f64>Triple Exponential Moving Average (20-period)
hma_20: Option<f64>Hull Moving Average (20-period)
vwma_20: Option<f64>Volume Weighted Moving Average (20-period)
alma_9: Option<f64>Arnaud Legoux Moving Average (9-period)
mcginley_dynamic_20: Option<f64>McGinley Dynamic (20-period)
rsi_14: Option<f64>Relative Strength Index (14-period)
stochastic: Option<StochasticData>Stochastic Oscillator (14, 3, 3)
cci_20: Option<f64>Commodity Channel Index (20-period)
williams_r_14: Option<f64>Williams %R (14-period)
stochastic_rsi: Option<StochasticData>Stochastic RSI (14, 14)
roc_12: Option<f64>Rate of Change (12-period)
momentum_10: Option<f64>Momentum (10-period)
cmo_14: Option<f64>Chande Momentum Oscillator (14-period)
awesome_oscillator: Option<f64>Awesome Oscillator (5, 34)
coppock_curve: Option<f64>Coppock Curve (10, 11, 14)
macd: Option<MacdData>Moving Average Convergence Divergence (12, 26, 9)
adx_14: Option<f64>Average Directional Index (14-period)
aroon: Option<AroonData>Aroon Indicator (25-period)
supertrend: Option<SuperTrendData>SuperTrend Indicator (10, 3.0)
ichimoku: Option<IchimokuData>Ichimoku Cloud (9, 26, 52, 26)
parabolic_sar: Option<f64>Parabolic SAR (0.02, 0.2)
bull_bear_power: Option<BullBearPowerData>Bull Bear Power (13-period EMA based)
elder_ray_index: Option<ElderRayData>Elder Ray Index (13-period EMA based)
bollinger_bands: Option<BollingerBandsData>Bollinger Bands (20, 2.0)
atr_14: Option<f64>Average True Range (14-period)
keltner_channels: Option<KeltnerChannelsData>Keltner Channels (20, 10, 2.0)
donchian_channels: Option<DonchianChannelsData>Donchian Channels (20-period)
true_range: Option<f64>True Range (current period)
choppiness_index_14: Option<f64>Choppiness Index (14-period)
obv: Option<f64>On-Balance Volume
mfi_14: Option<f64>Money Flow Index (14-period)
cmf_20: Option<f64>Chaikin Money Flow (20-period)
chaikin_oscillator: Option<f64>Chaikin Oscillator (3, 10)
accumulation_distribution: Option<f64>Accumulation/Distribution Line
vwap: Option<f64>Volume Weighted Average Price
balance_of_power: Option<f64>Balance of Power
Implementations§
Source§impl IndicatorsSummary
impl IndicatorsSummary
Sourcepub fn to_dataframe(&self) -> PolarsResult<DataFrame>
pub fn to_dataframe(&self) -> PolarsResult<DataFrame>
Converts this struct to a single-row polars DataFrame.
All scalar fields are included as columns. Nested objects and complex types are excluded.
This method is auto-generated by the ToDataFrame derive macro.
Sourcepub fn vec_to_dataframe(items: &[Self]) -> PolarsResult<DataFrame>
pub fn vec_to_dataframe(items: &[Self]) -> PolarsResult<DataFrame>
Converts a slice of structs to a multi-row polars DataFrame.
All scalar fields are included as columns. Nested objects and complex types are excluded.
This method is auto-generated by the ToDataFrame derive macro.
Trait Implementations§
Source§impl Clone for IndicatorsSummary
impl Clone for IndicatorsSummary
Source§fn clone(&self) -> IndicatorsSummary
fn clone(&self) -> IndicatorsSummary
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for IndicatorsSummary
impl Debug for IndicatorsSummary
Source§impl Default for IndicatorsSummary
impl Default for IndicatorsSummary
Source§fn default() -> IndicatorsSummary
fn default() -> IndicatorsSummary
Source§impl<'de> Deserialize<'de> for IndicatorsSummary
impl<'de> Deserialize<'de> for IndicatorsSummary
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Auto Trait Implementations§
impl Freeze for IndicatorsSummary
impl RefUnwindSafe for IndicatorsSummary
impl Send for IndicatorsSummary
impl Sync for IndicatorsSummary
impl Unpin for IndicatorsSummary
impl UnsafeUnpin for IndicatorsSummary
impl UnwindSafe for IndicatorsSummary
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more