pub enum CandidateSelector {
VolumeWeighted,
SimpleAverage,
Median,
ExHiLo,
VolumeWeightedLastN(usize),
SimpleAverageLastN(usize),
Manual(Vec<f64>),
}Expand description
Candidate LDF selector family for backtesting and scoring.
Variants§
VolumeWeighted
Volume-weighted all-year link ratios.
SimpleAverage
Simple-average all-year link ratios.
Median
Median all-year link ratios.
ExHiLo
Ex-high-low trimmed-average all-year link ratios.
VolumeWeightedLastN(usize)
Volume-weighted using the most recent n origins.
SimpleAverageLastN(usize)
Simple-average using the most recent n origins.
Manual(Vec<f64>)
Caller-supplied factor vector.
Trait Implementations§
Source§impl Clone for CandidateSelector
impl Clone for CandidateSelector
Source§impl Debug for CandidateSelector
impl Debug for CandidateSelector
Source§impl PartialEq for CandidateSelector
impl PartialEq for CandidateSelector
impl StructuralPartialEq for CandidateSelector
Auto Trait Implementations§
impl Forget for CandidateSelector
impl Freeze for CandidateSelector
impl Move for CandidateSelector
impl RefUnwindSafe for CandidateSelector
impl Send for CandidateSelector
impl Sync for CandidateSelector
impl Unpin for CandidateSelector
impl UnsafeUnpin for CandidateSelector
impl UnwindSafe for CandidateSelector
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