quantlab.core.store_folder#

A shared store’s folder: the store, a README.md and the component that writes it.

A shared store lives in its own folder, <category>/<group>/<stem>/<stem>.zarr under the data root, beside a short README.md and component.json: the get_config() of the dataset, factor or factor risk model that writes it. load_component rebuilds that component from the folder alone (quantlab.core.component.rebuild), which is how the daily data update (scripts/data_update/update.py) updates or extends a store without the recipe that defined it.

Functions

load_component

Rebuild the component a store folder's component.json records.

save_component

Write component's config to <folder>/component.json, and readme if given.