pub enum MidasState {
Launch,
Projecting,
Exhausted,
}Expand description
Lifecycle state of a MIDAS Topfinder/Bottomfinder projection.
Variants§
Launch
No extreme (high for Topfinder, low for Bottomfinder) has been set since launch yet; only the base MIDAS curve is meaningful.
Projecting
An extreme has been set and the projection curve is actively converging toward it.
Exhausted
maturity_bars have passed since the extreme with no new one set: the projection is
considered to have played out.
Trait Implementations§
Source§impl Clone for MidasState
impl Clone for MidasState
Source§fn clone(&self) -> MidasState
fn clone(&self) -> MidasState
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 moreimpl Copy for MidasState
Source§impl Debug for MidasState
impl Debug for MidasState
impl Eq for MidasState
Source§impl PartialEq for MidasState
impl PartialEq for MidasState
impl StructuralPartialEq for MidasState
Auto Trait Implementations§
impl Freeze for MidasState
impl RefUnwindSafe for MidasState
impl Send for MidasState
impl Sync for MidasState
impl Unpin for MidasState
impl UnsafeUnpin for MidasState
impl UnwindSafe for MidasState
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