Stock Market Analysis & Next-Day Direction Prediction Using Machine Learning This project analyzes five major tech stocks (NVDA, AMD, TSM, MSFT, GOOGL) from 2017 to 2026. Using the yfinance API, it builds an end-to-end data pipeline from data collection to machine learning. The exploratory phase evaluates risk and return using metrics like the Sharpe ratio, maximum drawdown, and correlation. Next, technical indicators (e.g., RSI, moving averages) and market indices (SPY, VIX) are engineered into predictive features. Finally, three machine learning models—Logistic Regression, Random Forest, and Extra Trees—are trained to predict the next day's price direction, comparing their performance against a baseline model.