Agentic Coding · Bootcamp · Actuarial, finance & OR

Monte Carlo Risk Models with Coding Agents: A Bootcamp on Scenarios, Risk Measures and Validation

Build a small, reproducible simulation environment for risk measures in three days, and know exactly how much randomness is still left in your results.

  • Workshops & trainings since 2014
  • jocapps GmbH · Freiburg, Germany
  • The team behind Mathe-VollLogo
Format
Bootcamp
Duration
3 consecutive days
Delivery
Live online · On-site (in-house) · Hybrid
Group size
4–10 participants
Level
Advanced
Language
German or English

Tools: Claude Code · ChatGPT Codex · Python · NumPy · pytest

Monte Carlo risk models are quick to write and hard to verify: a badly factorised correlation matrix, a reused random stream or too few paths in the tail change value at risk and expected shortfall without raising an error. Coding agents speed up scenario generators, aggregation and reporting considerably, as long as clear tests set the boundaries. In this bootcamp you build your own simulation environment step by step: correlated risk factors, the loss distribution, risk measures with confidence intervals, variance reduction and validation against cases with a closed-form solution. By day three you have a reproducible repository with tests, timing measurements and documentation for validation teams.

Who the Monte Carlo bootcamp is for

Quant teams, risk control, actuarial functions and model validation in banks, insurers and asset managers who develop or review simulation models in Python.

What you'll walk away with

  • Generate correlated risk factors through a Cholesky factorisation or copulas and test the resulting dependence statistically
  • Estimate value at risk and expected shortfall with confidence intervals and justify the number of paths needed
  • Apply variance reduction with antithetic variates, control variates and importance sampling for tail events
  • Organise random streams, seeds and parallel runs so that every run can be reproduced exactly
  • Validate the simulation against analytical special cases and earlier runs and explain any differences

Typical scenarios

  1. A market risk team replaces a simulation script that grew over many years with a tested version and can, for the first time, state which random stream produced each run.
  2. An actuarial team simulates large and accumulation losses and uses importance sampling to reduce the variance of the tail estimate without multiplying the run time.
  3. Model validation has an agent generate test cases with closed-form solutions and uses them to check the business unit's simulation environment independently.

Does this fit your team?

Pick a few dates that suit you. The request is non-binding, and the agenda is tailored in a short call beforehand.

Request dates

What the Monte Carlo bootcamp covers

  1. Day 1: Foundations and reproducibilityProject structure, a rules file for the agent, random number generators, seeds and independent streams for parallel runs.
  2. Day 1: Correlated scenariosCholesky factorisation, handling matrices that are not positive definite, and copulas for tail dependence.
  3. Day 2: Losses and risk measuresAggregation, value at risk and expected shortfall, confidence intervals for estimators and convergence plots.
  4. Day 2: Variance reductionAntithetic variates, control variates and importance sampling, each with a measurement of its actual effect.
  5. Day 3: ValidationAnalytical special cases, statistical tests of the scenarios, comparison with earlier runs and explaining differences.
  6. Day 3: Performance and handoverVectorisation, profiling, run-time limits in the tests and documentation for validation and operations.

Before the Monte Carlo bootcamp: prerequisites

  • Solid knowledge of probability and statistics and experience with risk measures
  • Confident use of Python and NumPy
  • A development environment with NumPy and an agent your risk IT has cleared

Materials you keep

  • A reproducible simulation environment with tests as a repository
  • Validation cases with closed-form solutions for your own models
  • A checklist for reviewing and validating Monte Carlo code

How it works

  1. Request with preferred datesTick the date proposals that suit you or name a period of your own.
  2. Short callWe talk about your goals, prior knowledge and the tools your team already uses.
  3. Agenda for your teamYou receive a plan tailored to your group, with exercises that match your subject and material.
  4. Course and materialsThe course runs online, on-site or hybrid, and you keep the materials afterwards.

Why train with us

  • jocapps GmbH has offered workshops and trainings since 2014. The topics have moved with the technology; today the focus is on agentic coding and prompt engineering.
  • Hands-on rather than slides: you practise on realistic examples from maths and STEM, or on your own tasks, code or prompts if you wish.
  • Online, on-site or hybrid, held in German or English.
  • jocapps GmbH is certified to ISO 27001 (information security) and ISO 9001 (quality management).

Questions about the Monte Carlo bootcamp

Is the bootcamp suitable for internal models that are already approved?

The methods transfer to such models, but we work in a separate practice environment. Changes to approved models still follow your internal processes; please clarify their requirements with your validation function and compliance team before applying anything.

How many paths does a reliable estimate need?

There is no general answer, because it depends on the quantile, the distribution and the precision you need. In the bootcamp you learn to justify the number of paths with confidence intervals and convergence plots rather than relying on a round number chosen out of habit.

How important is performance?

Important, but second: we optimise only once results are correct and reproducible. On day three you measure run times, vectorise bottlenecks and record limits in the tests so that later changes cannot slow the simulation down unnoticed.

Is the bootcamp held online or on-site, and in which language?

Both are possible: live online, at your premises (in-house) or hybrid. The course is held in German or English; you choose when you send the request.

Can the content be tailored to our team?

Yes. The agenda, examples and emphasis are agreed in the call beforehand, based on your team's prior knowledge, subjects and tools. On request we work with your own exercises, data or code.