AggregateStream
#A streaming aggregator: each input bar yields zero or more completed output units.
import type { AggregateStream } from '@insiderfinance/totalfinance/technical-analysis/chart-types';
/** A streaming aggregator: each input bar yields zero or more completed output units. */
export interface AggregateStream<Out> {
next(bar: BarInput): Out[];
toJSON(): TechnicalAnalysisSnapshot;
}Fields, parameters and returned members (11)
Stability: stable-by-law (pre-1.0; not a 1.0 stability guarantee). Units come from declared names; “unitless by name” means the name alone does not establish a unit. See conventions and errors and warnings.