Struct trade_aggregation::VolumeAggregator [−][src]
pub struct VolumeAggregator { /* fields omitted */ }
Expand description
Used for aggregating trades based on volume
Implementations
Create a new streaming volume aggregator
Arguments:
- vol_threshold: create a new candle after this total volume has been reached
- by: determines how to interpret the trade size, either as denoted in QUOTE or in BASE
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for VolumeAggregator
impl Send for VolumeAggregator
impl Sync for VolumeAggregator
impl Unpin for VolumeAggregator
impl UnwindSafe for VolumeAggregator
Blanket Implementations
Mutably borrows from an owned value. Read more