pub struct AlphaConfig {Show 22 fields
pub enabled: bool,
pub mode: String,
pub lookback_trades: usize,
pub prior_a: f64,
pub prior_b: f64,
pub tail_prior_a: f64,
pub tail_prior_b: f64,
pub recency_lambda: f64,
pub shrink_k: f64,
pub loss_threshold_usdt: f64,
pub gamma_tail_penalty: f64,
pub fee_slippage_penalty_usdt: f64,
pub entry_gate_min_alpha_usdt: f64,
pub forward_p_win: f64,
pub forward_target_rr: f64,
pub predictor_mu: f64,
pub predictor_sigma_spot: f64,
pub predictor_sigma_futures: f64,
pub futures_multiplier: f64,
pub predictor_ewma_alpha_mean: f64,
pub predictor_ewma_alpha_var: f64,
pub predictor_min_sigma: f64,
}Fields§
§enabled: bool§mode: String§lookback_trades: usize§prior_a: f64§prior_b: f64§tail_prior_a: f64§tail_prior_b: f64§recency_lambda: f64§shrink_k: f64§loss_threshold_usdt: f64§gamma_tail_penalty: f64§fee_slippage_penalty_usdt: f64§entry_gate_min_alpha_usdt: f64§forward_p_win: f64§forward_target_rr: f64§predictor_mu: f64§predictor_sigma_spot: f64§predictor_sigma_futures: f64§futures_multiplier: f64§predictor_ewma_alpha_mean: f64§predictor_ewma_alpha_var: f64§predictor_min_sigma: f64Trait Implementations§
Source§impl Clone for AlphaConfig
impl Clone for AlphaConfig
Source§fn clone(&self) -> AlphaConfig
fn clone(&self) -> AlphaConfig
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 AlphaConfig
impl Debug for AlphaConfig
Source§impl Default for AlphaConfig
impl Default for AlphaConfig
Source§impl<'de> Deserialize<'de> for AlphaConfig
impl<'de> Deserialize<'de> for AlphaConfig
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 AlphaConfig
impl RefUnwindSafe for AlphaConfig
impl Send for AlphaConfig
impl Sync for AlphaConfig
impl Unpin for AlphaConfig
impl UnsafeUnpin for AlphaConfig
impl UnwindSafe for AlphaConfig
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