Run a Monte Carlo simulation on Deadline Cloud
The
monte_carlo_simulation
The bundle defines a two-step pipeline:
-
PricePositions— One task per portfolio position. Tasks are grouped into chunks that calibrate the Heston model once and price all positions in the chunk, amortizing calibration cost. -
AggregateResults— Collects per-position results into a portfolio summary.
The bundle uses the Open Job Description
TASK_CHUNKING
To run this bundle, you need a queue with a conda queue environment
that includes the conda-forge channel for
quantlib-python. When you deploy the
starter
farm templateProdCondaChannels parameter to
deadline-cloud conda-forge.
Submit the bundle with the GUI submitter:
deadline bundle gui-submit monte_carlo_simulation/
Or submit a quick test with fewer positions:
deadline bundle submit monte_carlo_simulation/ \ -p PositionRange="0-1" -p NumPaths=100