Expand description
Bar aggregation machinery.
Defines the BarAggregator trait and core aggregation types (tick, volume, value, time),
along with the BarBuilder and BarAggregatorCore helpers for constructing bars.
Structs§
- BarAggregator
Core - Provides a means of aggregating specified bar types and sending to a registered handler.
- BarBuilder
- Provides a generic bar builder for aggregation.
- Fixed
Tick Scheme Rounder - Rounder that uses a fixed tick size; mirrors negative prices for tick alignment (Cython parity).
- MapVega
Provider - Vega provider that returns leg vegas from a map (e.g. populated from greeks cache).
- Renko
BarAggregator - Provides a means of building Renko bars aggregated from quote and trades.
- Spread
Quote Aggregator - Spread quote aggregator: builds synthetic quotes from leg quotes (Cython parity).
- Tick
BarAggregator - Provides a means of building tick bars aggregated from quote and trades.
- Tick
Imbalance BarAggregator - Aggregates bars based on tick buy/sell imbalance.
- Tick
Runs BarAggregator - Aggregates bars based on consecutive buy/sell tick runs.
- Time
BarAggregator - Provides a means of building time bars aggregated from quote and trades.
- Value
BarAggregator - Provides a means of building value bars aggregated from quote and trades.
- Value
Imbalance BarAggregator - Aggregates bars based on buy/sell notional imbalance.
- Value
Runs BarAggregator - Aggregates bars based on consecutive buy/sell notional runs.
- Volume
BarAggregator - Provides a means of building volume bars aggregated from quote and trades.
- Volume
Imbalance BarAggregator - Aggregates bars based on buy/sell volume imbalance.
- Volume
Runs BarAggregator - Aggregates bars based on consecutive buy/sell volume runs.
Traits§
- BarAggregator
- Trait for aggregating incoming price and trade events into time-, tick-, volume-, or value-based bars.
- Spread
Price Rounder - Rounder for spread bid/ask (e.g. tick scheme). When absent, raw prices are used with instrument precision.
- Vega
Provider - Provider for vega per leg (option spreads). Returns
Nonewhen greeks are unavailable.