Stochastic Modelling, Machine Learning, Monte Carlo Simulation.
daily return here S0= stock price at t day S1 = stock price at t+1 day We will create an 1000 by 20 array with all zero values, then replace the first row with the last stock price as follows: Fig 17. Creating price list for simulation lets write down the simulation by using -for loop. Fig 18.