Monte Carlo - Stocks

Simple demo using GO to calculate estimations of a stock or index based on only mean and standard deviation

Download as .zip Download as .tar.gz View on GitHub

Monte Carlo Stocks

Simple demo of monte carlo simultion to estimate stock or index based on mean and standard deviation.

Server : GO

FrontEnd : AngularJS, Bootstrap, ChartJS

GO does the math calculation and send it back to frontend, it also uses a homebrew stat library: https://github.com/markthelaw/GoStatHelper Using inverse error function.

It uses AngularJS to have a Ajax call to send/receive data from server and update the conclusion

It uses chartJS to draw the 2 charts.

Try it on heroku server: Monte Carlo Stocks - Heroku

For example S&P 500 mean and standard deviation can be found here : S&P 500 - Yahoo Finance

Note: Increase trials will dramatically slow down the drawing of the chart, max for runs is around 1000.