pub struct ParameterOptimizationResult {
pub threshold_params: Option<ThresholdParams>,
pub periodic_params: Option<PeriodicParams>,
pub il_limit_params: Option<ILLimitParams>,
pub expected_fees: Decimal,
pub expected_il: Decimal,
pub expected_net_pnl: Decimal,
pub expected_rebalances: u32,
pub score: Decimal,
}Expand description
Result of parameter optimization.
Fields§
§threshold_params: Option<ThresholdParams>Best threshold parameters found.
periodic_params: Option<PeriodicParams>Best periodic parameters found.
il_limit_params: Option<ILLimitParams>Best IL limit parameters found.
expected_fees: DecimalExpected performance metrics.
expected_il: DecimalExpected IL.
expected_net_pnl: DecimalExpected net PnL.
expected_rebalances: u32Number of expected rebalances.
score: DecimalScore from objective function.
Trait Implementations§
Source§impl Clone for ParameterOptimizationResult
impl Clone for ParameterOptimizationResult
Source§fn clone(&self) -> ParameterOptimizationResult
fn clone(&self) -> ParameterOptimizationResult
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 moreAuto Trait Implementations§
impl Freeze for ParameterOptimizationResult
impl RefUnwindSafe for ParameterOptimizationResult
impl Send for ParameterOptimizationResult
impl Sync for ParameterOptimizationResult
impl Unpin for ParameterOptimizationResult
impl UnsafeUnpin for ParameterOptimizationResult
impl UnwindSafe for ParameterOptimizationResult
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