pub struct IndicatorConfig {Show 39 fields
pub history_candles: usize,
pub ema_len: usize,
pub atr_len: usize,
pub st_factor: f64,
pub training_period: usize,
pub highvol_pct: f64,
pub midvol_pct: f64,
pub lowvol_pct: f64,
pub ts_max_length: usize,
pub ts_accel_mult: f64,
pub ts_rma_len: usize,
pub ts_hma_len: usize,
pub ts_collen: usize,
pub ts_lookback: usize,
pub ts_speed_exit_threshold: Option<f64>,
pub liq_period: usize,
pub liq_bins: usize,
pub conf_ema_fast: usize,
pub conf_ema_slow: usize,
pub conf_ema_trend: usize,
pub conf_rsi_len: usize,
pub conf_adx_len: usize,
pub conf_min_score: f64,
pub struct_swing_len: usize,
pub struct_atr_mult: f64,
pub fib_zone_enabled: bool,
pub signal_mode: String,
pub signal_confirm_bars: usize,
pub cvd_slope_bars: usize,
pub cvd_div_lookback: usize,
pub wave_pct_l: f64,
pub wave_pct_s: f64,
pub mom_pct_min: f64,
pub vol_pct_window: usize,
pub hurst_threshold: f64,
pub hurst_lookback: usize,
pub stop_atr_mult: f64,
pub min_vol_pct: f64,
pub min_hold_candles: usize,
}Expand description
All tunable parameters that live inside indicators and compute_signal.
Every field maps 1-to-1 to a key in the Python SETTINGS dict so
Optuna-tuned JSON files load with zero field renaming.
Fields§
§history_candles: usizeCandle buffer capacity
ema_len: usize§atr_len: usize§st_factor: f64§training_period: usize§highvol_pct: f64§midvol_pct: f64§lowvol_pct: f64§ts_max_length: usize§ts_accel_mult: f64§ts_rma_len: usize§ts_hma_len: usize§ts_collen: usize§ts_lookback: usize§ts_speed_exit_threshold: Option<f64>§liq_period: usize§liq_bins: usize§conf_ema_fast: usize§conf_ema_slow: usize§conf_ema_trend: usize§conf_rsi_len: usize§conf_adx_len: usize§conf_min_score: f64§struct_swing_len: usize§struct_atr_mult: f64§fib_zone_enabled: bool§signal_mode: String"majority" | "strict" | "any"
signal_confirm_bars: usize§cvd_slope_bars: usize§cvd_div_lookback: usize§wave_pct_l: f64§wave_pct_s: f64§mom_pct_min: f64§vol_pct_window: usize§hurst_threshold: f64§hurst_lookback: usize§stop_atr_mult: f64§min_vol_pct: f64§min_hold_candles: usizeTrait Implementations§
Source§impl Clone for IndicatorConfig
impl Clone for IndicatorConfig
Source§fn clone(&self) -> IndicatorConfig
fn clone(&self) -> IndicatorConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 IndicatorConfig
impl Debug for IndicatorConfig
Source§impl Default for IndicatorConfig
impl Default for IndicatorConfig
Source§impl<'de> Deserialize<'de> for IndicatorConfig
impl<'de> Deserialize<'de> for IndicatorConfig
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 IndicatorConfig
impl RefUnwindSafe for IndicatorConfig
impl Send for IndicatorConfig
impl Sync for IndicatorConfig
impl Unpin for IndicatorConfig
impl UnsafeUnpin for IndicatorConfig
impl UnwindSafe for IndicatorConfig
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