Monte Carlo Simulation, Quantitative Finance, Python, Data Science, Data Visualization.
import matplotlib.pyplot as plt import sys import warnings warnings.filterwarnings('ignore') Loading and Treating the Data For this experiment, I decided to use the daily returns data of the S&P500 index for the last five years, starting on January 2ⁿᵈ, 2018 and ending on December 30ᵗʰ, 2022. We