pub struct IndicatorsConfig {
pub ema_periods: Vec<u32>,
pub rsi_period: u32,
pub rsi_overbought: f64,
pub rsi_oversold: f64,
pub macd_fast_period: u32,
pub macd_slow_period: u32,
pub macd_signal_period: u32,
pub bollinger_period: u32,
pub bollinger_std_dev: f64,
pub atr_period: u32,
pub volume_ma_period: u32,
}Fields§
§ema_periods: Vec<u32>EMA periods
rsi_period: u32RSI period
rsi_overbought: f64RSI overbought threshold
rsi_oversold: f64RSI oversold threshold
macd_fast_period: u32MACD fast period
macd_slow_period: u32MACD slow period
macd_signal_period: u32MACD signal period
bollinger_period: u32Bollinger period
bollinger_std_dev: f64Bollinger standard deviation
atr_period: u32ATR period
volume_ma_period: u32Volume MA period
Trait Implementations§
Source§impl Clone for IndicatorsConfig
impl Clone for IndicatorsConfig
Source§fn clone(&self) -> IndicatorsConfig
fn clone(&self) -> IndicatorsConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IndicatorsConfig
impl Debug for IndicatorsConfig
Source§impl Default for IndicatorsConfig
impl Default for IndicatorsConfig
Source§impl<'de> Deserialize<'de> for IndicatorsConfigwhere
IndicatorsConfig: Default,
impl<'de> Deserialize<'de> for IndicatorsConfigwhere
IndicatorsConfig: Default,
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>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for IndicatorsConfig
impl RefUnwindSafe for IndicatorsConfig
impl Send for IndicatorsConfig
impl Sync for IndicatorsConfig
impl Unpin for IndicatorsConfig
impl UnsafeUnpin for IndicatorsConfig
impl UnwindSafe for IndicatorsConfig
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
Mutably borrows from an owned value. Read more