Skip to content

BallesJr/portfolio-risk-simulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Portfolio Risk & Sharpe Simulator

A Python tool for simulating investment returns and analyzing risk metrics through Monte Carlo methods. I built this to visualize how volatility impacts long-term equity growth and to calculate the statistical reliability of the Sharpe Ratio.


Key Metrics

  • Annualized Sharpe Ratio: Risk-adjusted performance.
  • Standard Error (SE): 95% Confidence Intervals for the Sharpe calculation.
  • Maximum Drawdown: Peak-to-trough decline tracking.

Visual Analysis

The script generates a two-panel chart showing the capital evolution and the "underwater" drawdown periods:

Simulation Chart

Requirements

Just numpy and matplotlib. Run the simulation: python sharp_calc.py

About

Python tool for portfolio risk analysis using Monte Carlo simulations. Calculates Sharpe ratio, confidence intervals, and maximum drawdown.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages