pub struct MidasCurveEngine { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Indicator for MidasCurveEngine
impl Indicator for MidasCurveEngine
fn name(&self) -> &str
fn reset(&mut self)
fn on_bar(&mut self, bar: &Bar) -> Option<IndicatorOutput>
fn alerts(&self) -> Vec<IndicatorAlert>
fn warmup_period(&self) -> usize
Source§fn on_checked_bar(
&mut self,
bar: &Bar,
) -> Result<Option<IndicatorOutput>, BarValidationError>
fn on_checked_bar( &mut self, bar: &Bar, ) -> Result<Option<IndicatorOutput>, BarValidationError>
Validates a bar before forwarding it to
Indicator::on_bar.Auto Trait Implementations§
impl Freeze for MidasCurveEngine
impl RefUnwindSafe for MidasCurveEngine
impl Send for MidasCurveEngine
impl Sync for MidasCurveEngine
impl Unpin for MidasCurveEngine
impl UnsafeUnpin for MidasCurveEngine
impl UnwindSafe for MidasCurveEngine
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