quantlab.dataset.sharadar.point_in_time.ReleasePanelDataset#
- class quantlab.dataset.sharadar.point_in_time.ReleasePanelDataset(config)[source]#
Bases:
RawDatasetDaily point-in-time panel of one Sharadar release table, keyed by permaticker.
A subclass sets
config_clsandRAW_TABLESand implements_released(its rows, each at its available date, usually through_trading_calendar().place),_spec(aReleaseSpec) and_nothing_shown(the start of the message refusing an empty window). It inherits the axes of a window (the trading days, and the securities with a row available by its end), the window itself (as_of), the symbols an update adds (those with a shown cell in the new days), the widening fill (NaT forspec.dates) and no OHLCV cleaning. The staleness limit is the config’sstale_after_dayswhen it has one.A panel whose rows are not shown as of their available date (13F holdings, filings) overrides
_raw_data_to_xr_windowand_added_symbols_with_raw_historyand keeps the rest.Examples
SharadarFundamentalsDatasetis one:SharadarFundamentalsDataset(config).panel("2024-01-02", "2024-01-05")["revenue"]
- RAW_TABLES = ('sep',)#
Raw tables that must be complete through a day for it to be built;
"sep"(the calendar) among them.