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