Skip to main content

aggregate_price_bars

Function aggregate_price_bars 

Source
pub fn aggregate_price_bars(
    children: &[PriceBar],
    parent_timeframe: Timeframe,
    descriptor: &SeriesDescriptor,
) -> Result<PriceBar>
Expand description

Aggregate exactly one complete, ordered parent bucket. No incomplete tail is emitted.