20 years of AAPL, MSFT, GOOGL & AMZN data — CAPM, Sharpe/Sortino ratios, Markowitz optimisation, and technical analysis, in a notebook and a live Streamlit dashboard
A quantitative finance project analysing 20 years of stock data (January 2004 – December 2024) for four major technology companies, deliberately spanning the 2008 Global Financial Crisis, the 2020 COVID crash and recovery, and the 2022 rate-hike-driven tech sell-off.
The analysis covers nine statistical performance metrics per stock, CAPM beta/alpha regression against the S&P 500, Sharpe and Sortino ratio risk-adjusted performance, Markowitz mean-variance portfolio optimisation via PyPortfolioOpt, and a technical-analysis layer (SMA, Bollinger Bands, RSI, MACD) — delivered through both a research-grade Jupyter notebook and an interactive Streamlit dashboard.
Full methodology, limitations, and references are on GitHub.