quantlab.model.predefined.recorded.RecordedPredictorConfig#
- class quantlab.model.predefined.recorded.RecordedPredictorConfig(predictor, run_dir='', history=False)[source]#
Bases:
PredictorViewConfigWhat a
RecordedPredictoris rebuilt from.Examples
>>> sorted(RecordedPredictorConfig(predictor=model, run_dir="runs/x").__dataclass_fields__) ['history', 'predictor', 'run_dir']
- history = False#
Also serve the record’s bars before the loaded checkpoint’s window.
- run_dir = ''#
The recorded backtest run (
runorrun_cv) whose predictions are served.