quantdata.dysanos.tangent_levy.experiment#

End-to-end orchestration for Tangent Lévy historical experiments.

class quantdata.dysanos.tangent_levy.experiment.HistoricalCalibration(ticker, requested_dates, dates, day_fits, symmetry_curve, forward_density, consecutive_mask, reconstruction_relative_error, reconstruction_l1_error, reconstruction_repricing_rmse, reconstruction_maximum_price_error, reconstruction_passed, audits, failure_reasons)[source]#

Bases: object

Successful daily code-books with failures preserved in the audit.

property successful_date_fraction: float#

Fraction of requested sessions producing a code-book.

to_state_dict()[source]#

Return an HDF5-safe logical artifact.

classmethod from_state_dict(state)[source]#

Reconstruct a cached historical calibration artifact.

class quantdata.dysanos.tangent_levy.experiment.CoreExperimentResult(history, dynamics, simulation, dynamics_end)[source]#

Bases: object

Calibrated history, fitted dynamics, and optional Q simulation.

quantdata.dysanos.tangent_levy.experiment.calibrate_history(ticker, start, end, *, config, verbose=<cdxcore.verbose.Context object>, maximum_dates=None)[source]#

Calibrate all available days and reconstruct a fixed-grid code-book panel.

quantdata.dysanos.tangent_levy.experiment.load_calibrated_history(ticker, start, end, *, config, verbose=<cdxcore.verbose.Context object>, maximum_dates=None)[source]#

Load or generate the versioned cached historical calibration.

quantdata.dysanos.tangent_levy.experiment.validate_reconstruction_gate(history, *, dynamics_position, include_simulation_origin)[source]#

Fail before dynamics consume a materially altered static code-book.

quantdata.dysanos.tangent_levy.experiment.run_core_experiment(ticker, start, end, *, config, verbose=<cdxcore.verbose.Context object>, maximum_dates=None, dynamics_end=None, simulate=True)[source]#

Calibrate history, fit constrained factors, and optionally simulate Q.