Trait trade_aggregation::ModularCandle
source · pub trait ModularCandle<T: TakerTrade>: Clone + Default {
// Required methods
fn update(&mut self, trade: &T);
fn reset(&mut self);
}
Expand description
A modular candle that can be composed of multiple components
Is generic over the type of trade it accepts during the update step,
as long as it implements the TakerTrade
trait
Required Methods§
Object Safety§
This trait is not object safe.