quantlab.dataset.sharadar.actions.SharadarActionsDataset#
- class quantlab.dataset.sharadar.actions.SharadarActionsDataset(config)[source]#
Bases:
FilingPanelDatasetDaily panel of corporate actions by family, each on its effective date.
- Parameters:
- dataset_configSharadarActionsConfig
raw_data_dir_pathis<download-dir>/sharadar, holding theactions,sep(the calendar) andtickersraw tables.
Examples
With
configas in the module example:ds = SharadarActionsDataset(config).update() list(ds.panel("2024-01-02", "2024-01-05").data_vars)[:3] # ['dividend', 'split', 'spinoff']
- TABLE = 'actions'#
Code of the filing table (a key of
quantlab.dataset.sharadar.tables.TABLES).
- config_cls#
The config class used to rebuild this dataset from a saved config.
alias of
SharadarActionsConfig
- property counterparties_path#
The report of the counterparties left NaN (
<store>.counterparties.json).Examples
With
configaSharadarActionsConfigof the storesharadar_actions_1d.zarr:SharadarActionsDataset(config).counterparties_path # '.../sharadar_actions_1d.zarr.counterparties.json'