quantlab.runs.record.unrecorded#

quantlab.runs.record.unrecorded()[source]#

Keep the reads inside out of every open recorder, and hash nothing.

For reads that belong to another record than the run’s around them: a backtest’s training step, whose reads are the trained unit’s. A recorder opened inside still records.

Examples

>>> with DataRecorder() as recorder:
...     with unrecorded():
...         _ = prices.panel("2024-01-02", "2024-01-31")
>>> recorder.records
{}