Each line is a possible future for the S&P500 over the next five years, modelled using Geometric Brownian Motion with historical volatility and drift.

Built this as a free interactive tool so anyone can run their own simulations. Drop a ticker, adjust volatility and time horizon, and watch the paths generate in real time.

Tool: monte.rorymurray.uk

Happy to answer questions on the GBM model or the math behind it.

Posted by Both-Hat-1758

Share.

11 Comments

  1. Beautiful visualization. The subtle gradient on the density of the paths makes it so easy to read the probability distribution at a glance.

    Always love seeing custom interactive data tools built for the web. I’m working on something in a similar vein for 3D mapping called **HeatGlobe** ([https://heatglobe.com](https://heatglobe.com/)).

    What charting library did you use for this, or did you build the visualizer from scratch?

  2. Question: does showing the simulations show anything that just showing the log normal distribution doesn’t?

  3. Have you tried applying this methodology retrospectively and then comparing your results with what actually happened?

  4. KellerTheGamer on

    Are you using a normal distribution with mean amd standard deviation of daily returns or are you accounting for the skew and kurtosis of the returns by using a Pearson distribution?

  5. RedIrishDevil on

    I don’t really understand what this means, could you explain. I don’t see how using past volatility or drift could simulate future value, this prediction is very dependent on S&P performing the same just with a confidence interval. Its not really a prediction model (classification , regression model etc)

  6. I’m sorry, but how exactly is brownian motion at all relevant to stock market tickers?? Brownian motion describes the motion of a microscopic particle based on the interactions of gas or liquid molecules on that particle. It is not a valid way to describe random choices that could affect a stock market ticker