Struct yata::indicators::MoneyFlowIndexInstance
source · pub struct MoneyFlowIndexInstance { /* private fields */ }
Trait Implementations§
source§impl Clone for MoneyFlowIndexInstance
impl Clone for MoneyFlowIndexInstance
source§fn clone(&self) -> MoneyFlowIndexInstance
fn clone(&self) -> MoneyFlowIndexInstance
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for MoneyFlowIndexInstance
impl Debug for MoneyFlowIndexInstance
source§impl<'de> Deserialize<'de> for MoneyFlowIndexInstance
impl<'de> Deserialize<'de> for MoneyFlowIndexInstance
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl IndicatorInstance for MoneyFlowIndexInstance
impl IndicatorInstance for MoneyFlowIndexInstance
§type Config = MoneyFlowIndex
type Config = MoneyFlowIndex
Type of Indicator Configuration
source§fn next<T: OHLCV>(&mut self, candle: &T) -> IndicatorResult
fn next<T: OHLCV>(&mut self, candle: &T) -> IndicatorResult
Evaluates given candle and returns
IndicatorResult
source§fn over<T, S>(&mut self, inputs: S) -> Vec<IndicatorResult>
fn over<T, S>(&mut self, inputs: S) -> Vec<IndicatorResult>
Evaluates the State over the given sequence of candles and returns sequence of
IndicatorResult
s. Read moreAuto Trait Implementations§
impl RefUnwindSafe for MoneyFlowIndexInstance
impl Send for MoneyFlowIndexInstance
impl Sync for MoneyFlowIndexInstance
impl Unpin for MoneyFlowIndexInstance
impl UnwindSafe for MoneyFlowIndexInstance
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
source§impl<T, I> IndicatorInstanceDyn<T> for Iwhere
T: OHLCV,
I: IndicatorInstance + 'static,
impl<T, I> IndicatorInstanceDyn<T> for Iwhere
T: OHLCV,
I: IndicatorInstance + 'static,
source§fn next(&mut self, candle: &T) -> IndicatorResult
fn next(&mut self, candle: &T) -> IndicatorResult
Evaluates given candle and returns
IndicatorResult
source§fn over(&mut self, inputs: &dyn AsRef<[T]>) -> Vec<IndicatorResult>
fn over(&mut self, inputs: &dyn AsRef<[T]>) -> Vec<IndicatorResult>
Evaluates the State over the given sequence of candles and returns sequence of
IndicatorResult
s. Read moresource§fn config(&self) -> &dyn IndicatorConfigDyn<T>
fn config(&self) -> &dyn IndicatorConfigDyn<T>
Returns a reference to dynamically dispatched Configuration, associated with the current State