bayesline.api.equity.ExposureApi.dates

bayesline.api.equity.ExposureApi.dates#

abstract ExposureApi.dates(universe: str | int | UniverseSettings | UniverseApi, *, range_only: bool = False) list[date]#

Parameters#

universe: str | int | UniverseSettings | UniverseApi

The universe to use for the exposure calculation.

range_only: bool, optional

If True, returns the first and last date only.

Returns#

list of all covered dates.