pub struct CandidateResult {
pub range_width: Decimal,
pub expected_fees: Decimal,
pub expected_il: Decimal,
pub net_pnl: Decimal,
pub time_in_range: Decimal,
pub score: Decimal,
}Expand description
Result of a single optimization candidate evaluation.
Fields§
§range_width: DecimalThe range width parameter.
expected_fees: DecimalExpected fees.
expected_il: DecimalExpected IL.
net_pnl: DecimalNet PnL.
time_in_range: DecimalTime in range percentage.
score: DecimalObjective score.
Implementations§
Trait Implementations§
Source§impl Clone for CandidateResult
impl Clone for CandidateResult
Source§fn clone(&self) -> CandidateResult
fn clone(&self) -> CandidateResult
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 CandidateResult
impl RefUnwindSafe for CandidateResult
impl Send for CandidateResult
impl Sync for CandidateResult
impl Unpin for CandidateResult
impl UnsafeUnpin for CandidateResult
impl UnwindSafe for CandidateResult
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