jonasmiles/aapl-stock-analysis-2021-2026 — explained in plain English
Analysis updated 2026-05-18
Learn how to clean and feature engineer a real stock price time series with pandas.
Study how moving averages, RSI, MACD, and Bollinger Bands are calculated from raw price data.
Generate monthly, quarterly, and yearly summary tables and pivot views from OHLCV data.
Practice computing risk metrics like Sharpe ratio, value at risk, and maximum drawdown.
| jonasmiles/aapl-stock-analysis-2021-2026 | akashsingh3031/python-libraries | akshit-python-programmer/text-detection-using-neural-network | |
|---|---|---|---|
| Stars | 0 | — | 0 |
| Language | Jupyter Notebook | Jupyter Notebook | Jupyter Notebook |
| Last pushed | — | 2020-12-03 | — |
| Maintenance | — | Dormant | — |
| Setup difficulty | easy | easy | easy |
| Complexity | 2/5 | 1/5 | 2/5 |
| Audience | data | vibe coder | vibe coder |
Figures from each repo's GitHub metadata at analysis time.
Just needs pandas, numpy, and matplotlib installed via pip to run the scripts.
AAPL-STOCK-ANALYSIS-2021-2026 is a Python data analysis project that studies five years of Apple Inc. stock price history, from July 2021 to July 2026, using pandas, numpy, and matplotlib. It is not a live trading tool or an app. It is a set of scripts and output files that clean, transform, and analyze a historical price dataset covering 1,255 trading days. The project walks through a full analysis pipeline. It starts by loading the raw price data, fixing junk header rows and incorrect column types, then adding time based columns such as year, month name, quarter, and weekday. From there it builds more than eighteen new analytical columns grouped into categories: price changes, daily and rolling returns, moving averages such as SMA and EMA at several time windows, volatility measures including Bollinger Bands and average true range, momentum indicators like RSI and MACD, and volume based measures such as on balance volume. The scripts also demonstrate filtering data for things like high volume up days, grouping by year and month for summary tables, calculating risk metrics such as the Sharpe ratio and value at risk, and reshaping the data with pivot tables and long format melting. According to the README, over the covered period AAPL returned about 122.7 percent cumulatively, with a maximum drawdown of about 33.4 percent during the 2022 bear market and a Sharpe ratio of 0.72. The README also lists several patterns it found in the data, such as November tending to be the strongest month and September the weakest, and offers trading ideas based on these patterns, like using the 200 day moving average as a directional filter or watching for RSI and MACD signals together. The repository includes the raw and cleaned CSV files, monthly, quarterly, and yearly summary tables, a pivoted dataset, a PDF report, and a set of described charts covering price with moving averages, volume trends, monthly returns, and more. The README states plainly that the project is for educational purposes only and is not financial advice, and that past performance does not predict future results.
A Python pandas project that cleans, analyzes, and charts five years of Apple stock price data, computing moving averages, volatility, and risk metrics for educational purposes.
Mainly Jupyter Notebook. The stack also includes Python, pandas, numpy.
Setup difficulty is rated easy, with roughly 30min to a first successful run.
Mainly data.
This repo across BitVibe Labs
double-check against the repo, no cap.