quantlab.backend.base#

The abstract storage contract for data panels.

DataBackend keeps “where something is stored” separate from “what it means”: it is the contract a dataset or factor object talks to when it reads, writes, filters or converts its panel (an xarray.Dataset indexed by timestamp and symbol). Concrete implementations live in quantlab.backend.zarr (XrBackend) and quantlab.backend.parquet (PlBackend). The contract assumes no particular schema, so a backend can be swapped without touching the layers above it. See docs/user-guide/datasets.md.

Classes

DataBackend

Contract for a storage medium that holds one tabular or panel dataset.