quantlab.core.store_uses.RangedStoreHandle#
- class quantlab.core.store_uses.RangedStoreHandle(*args, **kwargs)[source]#
Bases:
ProtocolWhat the live day and the data update ask of a store written by date range.
The handle an
ownsuse carries, and areadsuse of a ranged store (a factor view’s): a factor (quantlab.factor.base.Factor, its views included) and a factor risk model’squantlab.risk.base.RiskStoreare the two adapters, neither deriving from the other; both write throughquantlab.backend.ranged.RangedStore. The store’s path is the use’spath; whether the handle may write it is the use’s relation.Examples
>>> isinstance(factor, RangedStoreHandle), isinstance(model.regression, RangedStoreHandle) (True, True)