Struct yata::indicators::KaufmanInstance
source · pub struct KaufmanInstance { /* private fields */ }
Trait Implementations§
source§impl Clone for KaufmanInstance
impl Clone for KaufmanInstance
source§fn clone(&self) -> KaufmanInstance
fn clone(&self) -> KaufmanInstance
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 KaufmanInstance
impl Debug for KaufmanInstance
source§impl<'de> Deserialize<'de> for KaufmanInstance
impl<'de> Deserialize<'de> for KaufmanInstance
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 KaufmanInstance
impl IndicatorInstance for KaufmanInstance
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 KaufmanInstance
impl Send for KaufmanInstance
impl Sync for KaufmanInstance
impl Unpin for KaufmanInstance
impl UnwindSafe for KaufmanInstance
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