Skip to content

0xstring/portfolio-analyzer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Portfolio Analyzer (Streamlit)

A web-based portfolio analysis app built with Streamlit. Enter tickers and weights, then see normalized price charts, portfolio growth, correlations, and a Monte Carlo simulation.

Features

Pulls adjusted prices from Yahoo Finance (via yfinance)

Charts:

Normalized prices (indexed to 1.0) Portfolio cumulative growth Rolling correlation (select any two assets)

Stats:

Annualized return, volatility, Sharpe, max drawdown Monte Carlo simulation (configurable years/simulations/initial value)

Quick Start

python3 -m venv venv source venv/bin/activate pip install -r requirements.txt streamlit run app.py --server.address=0.0.0.0 --server.port=8501

Then open http://:8501

Notes

Tickers are Yahoo Finance symbols (e.g., ETH-USD, GLD, NVDA). Weights can be any numbers; the app can normalize them to sum to 1. For production, consider running behind NGINX with HTTPS.

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages