pub enum KellyMode {
Full,
Half,
Quarter,
}Expand description
Kelly sizing mode — controls what fraction of the theoretical optimum to use.
Variants§
Full
Full Kelly — theoretical optimum. Aggressive.
Half
Half Kelly — recommended for live trading. Halves variance.
Quarter
Quarter Kelly — conservative.
Implementations§
Trait Implementations§
impl Copy for KellyMode
impl Eq for KellyMode
impl StructuralPartialEq for KellyMode
Auto Trait Implementations§
impl Freeze for KellyMode
impl RefUnwindSafe for KellyMode
impl Send for KellyMode
impl Sync for KellyMode
impl Unpin for KellyMode
impl UnsafeUnpin for KellyMode
impl UnwindSafe for KellyMode
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