quantlab.dataset.config.PermatickerDayBarsConfig#
- class quantlab.dataset.config.PermatickerDayBarsConfig(*, day_bars, ticker_map, resample_freq=None, resample_how=None, name=None)[source]#
Bases:
FrozenConfigConfig of the Day aggregates read on the permaticker axis through the Ticker map (#353).
The view holds no store of its own;
day_barsandticker_mapkeep their own configs, both component fields.Examples
With
day_barsaMassiveDayBarDatasetandticker_mapaTickerMap:cfg = PermatickerDayBarsConfig(day_bars=day_bars, ticker_map=ticker_map) sorted(cfg.to_dict()) # ['day_bars', 'name', 'resample_freq', 'resample_how', 'ticker_map']
- day_bars#
The Day aggregate store on the Massive ticker axis.
- name = None#
Dotted import path of the dataset class; filled by the config setter.
- resample_freq = None#
The coarser bars the panel is resampled to;
Nonefor the store’s bars.
- resample_how = None#
{variable: method}of the resample;Nonefor the Day aggregates’ defaults.
- ticker_map#
The map from each day’s Massive ticker to its permaticker.