pub trait ModularCandle: Clone + Default {
    fn update(&mut self, trade: &Trade);
    fn reset(&mut self);
}
Expand description

A modular candle that can be composed of multiple components

Required Methods

Updates the candle information with trade information

Resets the state of the candle

Implementors