What if you could run thousands of “what‑if” stories for a stock portfolio — each one a different random future — and then look at the worst ones to understand your risk? That is exactly what Monte Carlo simulation does. In this chapter you will learn how to build these synthetic futures, make them run faster, and squeeze sharper answers out of them.