quantdata.dysanos.grid.gendysanos.torch_prep#
Prepare terminal-payoff universes from the trained SANOS decoder.
- class quantdata.dysanos.grid.gendysanos.torch_prep.DysanosMatchedUniverseBlock(*, start, stop, expiry, incremental)[source]#
Bases:
objectExpiry and incremental DYSANOS markets from one simulated path block.
- class quantdata.dysanos.grid.gendysanos.torch_prep.DysanosUniverseStreamDiagnostics(minimum_log_spot=inf, maximum_log_spot=-inf, importance_accumulator=None, importance_component_counts=None, minimum_log_weight=inf, maximum_log_weight=-inf, incremental_call_roundoff_clip_count=0, minimum_unclipped_incremental_call=inf)[source]#
Bases:
objectOnline sampling diagnostics for a matched DYSANOS path stream.
- class quantdata.dysanos.grid.gendysanos.torch_prep.GenDysanosExperiment(*, generator='dysanos', num_samples=100000, grid_strikes=100, num_nms=20, num_alpha=None, use_matrix_exp=True, bandwidth=1.0, trading_frequency='daily', return_horizon='expiry', mode=None, option_return_horizon=None, num_steps=None, delta_hedged=True, cost_rate=0.0001, num_trading_times=10, dt=0.003968253968253968, seed=500000, block_size=25000, importance_sampling=None)[source]#
Bases:
objectLogical inputs for one coherent generated DYSANOS market case.
- importance_sampling: GaussianSpotImportanceConfig | None = None#
- quantdata.dysanos.grid.gendysanos.torch_prep.finalize_dysanos_stream_diagnostics(diagnostics)[source]#
Return matched path diagnostics after fully consuming the stream.
- quantdata.dysanos.grid.gendysanos.torch_prep.iter_dysanos_matched_universe_blocks(experiment, *, diagnostics, verbose=<cdxcore.verbose.Context object>)[source]#
Yield both required return horizons from one coherent DYSANOS path.