pub trait CandleComponentUpdate<T: TakerTrade> {
    // Required method
    fn update(&mut self, trade: &T);
}
Expand description

Each component of a Candle must fullfill this trait

Required Methods§

source

fn update(&mut self, trade: &T)

Updates the state with newest trade information

Implementors§