pub struct BacktestConfig {Show 19 fields
pub symbol: String,
pub bars_csv: PathBuf,
pub strategy_db_path: PathBuf,
pub order_db_path: PathBuf,
pub order_amount_usdt: f64,
pub fee_rate: f64,
pub slippage_bps: f64,
pub train_window: usize,
pub test_window: usize,
pub embargo_window: usize,
pub max_folds: usize,
pub min_signal_abs: f64,
pub regime_gate_enabled: bool,
pub predictor_ewma_alpha_mean: f64,
pub predictor_ewma_alpha_var: f64,
pub predictor_min_sigma: f64,
pub predictor_mu: f64,
pub predictor_sigma: f64,
pub run_seed: u64,
}Fields§
§symbol: String§bars_csv: PathBuf§strategy_db_path: PathBuf§order_db_path: PathBuf§order_amount_usdt: f64§fee_rate: f64§slippage_bps: f64§train_window: usize§test_window: usize§embargo_window: usize§max_folds: usize§min_signal_abs: f64§regime_gate_enabled: bool§predictor_ewma_alpha_mean: f64§predictor_ewma_alpha_var: f64§predictor_min_sigma: f64§predictor_mu: f64§predictor_sigma: f64§run_seed: u64Trait Implementations§
Source§impl Clone for BacktestConfig
impl Clone for BacktestConfig
Source§fn clone(&self) -> BacktestConfig
fn clone(&self) -> BacktestConfig
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 BacktestConfig
impl Debug for BacktestConfig
Auto Trait Implementations§
impl Freeze for BacktestConfig
impl RefUnwindSafe for BacktestConfig
impl Send for BacktestConfig
impl Sync for BacktestConfig
impl Unpin for BacktestConfig
impl UnsafeUnpin for BacktestConfig
impl UnwindSafe for BacktestConfig
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
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>
Converts
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>
Converts
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