pub struct Vortex { /* private fields */ }Expand description
Vortex indicator for trend identification.
Implementations§
Trait Implementations§
Source§impl Indicator for Vortex
impl Indicator for Vortex
Source§impl MultiIndicator for Vortex
impl MultiIndicator for Vortex
Source§fn output_count(&self) -> usize
fn output_count(&self) -> usize
Number of output values this indicator produces. Read more
Source§fn update(
&mut self,
_price: f64,
_timestamp: DateTime<Utc>,
) -> IndicatorResult<Option<Vec<f64>>>
fn update( &mut self, _price: f64, _timestamp: DateTime<Utc>, ) -> IndicatorResult<Option<Vec<f64>>>
Process a new data point and return updated indicator values. Read more
Source§fn calculate(
&self,
_prices: &[f64],
) -> IndicatorResult<Vec<Option<MultiIndicatorValue>>>
fn calculate( &self, _prices: &[f64], ) -> IndicatorResult<Vec<Option<MultiIndicatorValue>>>
Calculate indicator values for historical data (batch mode). Read more
Auto Trait Implementations§
impl Freeze for Vortex
impl RefUnwindSafe for Vortex
impl Send for Vortex
impl Sync for Vortex
impl Unpin for Vortex
impl UnwindSafe for Vortex
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