Python, Monte Carlo Simulation, Trading, Probability, Investment.
above code simulates over 500 times and we store these simulation data in pandas dataframe. Let's visualize a part of the dataframe. code : print(df.iloc[:,:2]) output : 0 1 2 0 22229.617943 20448.533158 1 24306.715133 31140.648303 2 35994.308855 39891.312089 3 43963.087734 50062.167564 4