Monte Carlo Portfolio Simulator

2024 Python · NumPy · Pandas · Matplotlib

A simulation tool that projects thousands of potential investment portfolio outcomes using Monte Carlo methods, helping users understand the range of possibilities rather than relying on a single expected return.

Motivation

Most portfolio calculators give you one number: an average expected return. But real markets are stochastic. I wanted a tool that shows the full distribution of outcomes: the best case, the worst case, and everything in between. That's what Monte Carlo simulation does.

How it works

Technical details

Built in Python with NumPy for fast vectorized simulation of thousands of parallel portfolio paths. Pandas handles data manipulation and historical return processing. Matplotlib generates the probability fan charts. The simulator supports configurable asset correlations and rebalancing strategies.