Overview
run_st_job triggers the job-st-worker job and generates a stress-testing HTML report from portfolio data.
The tool blocks until the job completes and returns the output blob URL.
Parameters
Blob URL to a portfolio_optimization_*.json artifact that contains Prices and Weights.
Stress test configuration. Show common config fields
Stress model. Supported values: vine_copula, gaussian, student_t.
Optional ticker-to-shock mapping, for example { "AAPL": -0.05 }.
Number of simulations. Example: 5000.
Whether to include correlation-difference diagnostics in the report.
Returns
{
"status" : "Succeeded" ,
"output_url" : "https://stmcpfabricdev.blob.core.windows.net/data/stress_test_gaussian_20260322_184723.html" ,
"output_name" : "stress_test_gaussian_20260322_184723.html" ,
"execution_name" : "job-st-worker-abc123xyz"
}
Example
{
"input_url" : "https://stmcpfabricdev.blob.core.windows.net/data/portfolio_optimization_20260322_150845.json" ,
"config" : {
"stress_test_mode" : "gaussian" ,
"stress_dict" : {
"AAPL" : -0.05 ,
"MSFT" : -0.03
},
"n_samples" : 5000 ,
"show_corr_diff" : false
}
}
Resources
Resource Value Container Apps Job job-st-workerContainer name job-st-workerEnv vars injected INPUT_URL, CONFIGOutput blob prefix stress_test_Timeout 600 seconds