← Home LinkedIn Linkedin

Portfolio Risk Analyzer

Multi-Asset Risk, Return & Volatility.

Overview

This Python-based tool ingests live market data, computes asset statistics, and puts them into a single portfolio view covering yearly return and volatility, covariance structure and sharpe ratio.

Python Quantitative Methods Yahoo Finance
Volatility Snapshot

Snapshot

Focus Risk & Return

Yearly return and volatility across assets.

Tech Python Imports

Built with NumPy, Pandas, Matplotlib and yfinance.

View Source Code on GitHub
Portfolio Value Over Time

Portfolio Growth Curve

Methodology

1. Data Gathering

Uses yfinance to download adjusted closing prices for a set of tickers, put into a price matrix.

2. Return & Covariance Model

Computes daily returns, annualises mean and volatility. Then constructs a covariance matrix to show relationships between assets.

3. Portfolio Construction

Applies user-defined weights to derive portfolio-level return, risk and Sharpe ratio. Then visualises key outputs in plots seen.