Overview
run_st_job builds a stress-testing HTML report (vine copula, Gaussian, or Student-t shocks).
Inputs:
portfolio_optimization_*.json — usual path
data_extractor_*.json — fast path; optional portfolio_weights, else equal 1/N
Describe the shock in chat (e.g. “AAPL −15%, Student-t”); skills set stress_dict and mode.
Parameters
Blob URL to a portfolio_optimization_*.json or data_extractor_*.json artifact.
Stress test configuration. Show common config fields
Stress model. Supported values: vine_copula, gaussian, student_t (alias: student).
Required ticker-to-shock mapping, for example { "AAPL": -0.05 }.
For gaussian / student_t, you must leave at least one asset unstressed
(do not put every portfolio ticker in stress_dict).
Number of simulations. Example: 5000.
Optional weights for the data-extraction fast path, e.g. { "AAPL": 0.5, "MSFT": 0.5 }.
If omitted on that path, equal 1/N weights are used.
Degrees of freedom for student_t.
Returns
Example
Resources