[][src]Trait quantaxis_rs::Update

pub trait Update<T> {
    type Output;
    pub fn update(&mut self, input: T) -> Self::Output;
}

Associated Types

Loading content...

Required methods

pub fn update(&mut self, input: T) -> Self::Output[src]

Loading content...

Implementors

impl Update<f64> for AverageTrueRange[src]

type Output = f64

impl Update<f64> for ExponentialMovingAverage[src]

type Output = f64

impl Update<f64> for HHV[src]

type Output = f64

impl Update<f64> for LLV[src]

type Output = f64

impl Update<f64> for MovingAverage[src]

type Output = f64

impl Update<f64> for TrueRange[src]

type Output = f64

impl<'a, T: Close> Update<&'a T> for ExponentialMovingAverage[src]

type Output = f64

impl<'a, T: Close> Update<&'a T> for MovingAverage[src]

type Output = f64

impl<'a, T: High + Low + Close> Update<&'a T> for AverageTrueRange[src]

type Output = f64

impl<'a, T: High + Low + Close> Update<&'a T> for TrueRange[src]

type Output = f64

Loading content...