Overview
run_po_job is the fourth step of the pipeline. It triggers the po-job pipeline job, which reads ML or DL model predictions from blob storage and computes optimal portfolio weights using a specified optimization method (powered by skfolio).
The tool blocks until the job completes and returns the output blob URL.
Parameters
Blob storage URL pointing to either:
ml_engine_*.json— output ofrun_ml_jobnn_engine_*.json— output ofrun_dl_job
Portfolio optimization configuration.
Returns
| Field | Description |
|---|---|
status | Job terminal status (Succeeded) |
output_url | Full HTTPS URL to the output blob — pass to run_trading_job |
output_name | Blob filename |
execution_name | Job execution ID for audit/debugging |
Example
Resources
| Resource | Value |
|---|---|
| Container Apps Job | po-job |
| Container name | po-job |
| Env vars injected | INPUT_URL, CONFIG |
| Output blob prefix | portfolio_optimization_ |
| Timeout | 600 seconds |
Next Step
Passoutput_url to run_trading_job as input_url.