Python, Monte Carlo Simulation, Trading, Probability, Investment.
investment is around 20%. Although returns aren’t turn out to be as much as we expected but let's divide the returns into probabilities further. code : percentile = np.percentile(df.iloc[-1,:], [5, 10, 15, 25, 50, 75, 85, 90, 95] ) for i in range(len(percentile)): l = [5, 10, 15, 25, 50, 75, 85,