backtest_lib.universe.PastUniversePrices#
- class backtest_lib.universe.PastUniversePrices(close: PastView[float, Index], open: PastView[float, Index] | None = None, high: PastView[float, Index] | None = None, low: PastView[float, Index] | None = None)#
Bases:
GenericContainer of historical price views for a universe.
Holds the close price view and optional open/high/low views. Each price view is a
PastViewaligned over the same periods and securities.