Modern Portfolio Theory (MPT) and Monte Carlo simulations to optimize and backtest a portfolio of various financial assets
-
Updated
Jan 28, 2025 - Jupyter Notebook
Modern Portfolio Theory (MPT) and Monte Carlo simulations to optimize and backtest a portfolio of various financial assets
This repository contains a Python script that performs portfolio risk analysis on selected assets using Value at Risk (VaR) and Expected Shortfall (ES) measures. The script uses Numba to optimize the risk calculations, downloads historical data from Yahoo Finance with yfinance, and visualizes the portfolio's return distribution
Add a description, image, and links to the perfomance-python topic page so that developers can more easily learn about it.
To associate your repository with the perfomance-python topic, visit your repo's landing page and select "manage topics."