This project focuses on analyzing and predicting Coca-Cola (KO) stock prices using historical stock market data.
The goal is to identify trends, perform technical analysis, and use machine learning models to forecast future stock prices.
Stock market analysis helps investors and analysts understand company performance, risks, and growth opportunities.
This project applies data analysis and machine learning techniques to support data-driven investment decisions.
- Historical stock price analysis
- Exploratory Data Analysis (EDA)
- Technical indicators (Moving Averages, Volatility)
- Data visualization
- Machine Learning price prediction
- Model performance evaluation
- Future stock price prediction
- Python – Main programming language
- Pandas & NumPy – Data cleaning and analysis
- Matplotlib & Seaborn – Data visualization
- Yahoo Finance API – Stock data collection
- Machine Learning (Random Forest) – Price prediction
- Excel & SQL – Data handling and analysis
- Source: Yahoo Finance
- Stock: Coca-Cola Company (KO)
- Data includes:
- Open, High, Low, Close prices
- Volume
- Dividends
- Stock Splits
- Collected Coca-Cola stock data from Yahoo Finance
- Cleaned missing and incorrect values
- Performed Exploratory Data Analysis (EDA)
- Created technical indicators such as Moving Averages
- Built and trained a Random Forest model
- Evaluated model performance using MAE and MSE
- Predicted future stock prices
- Long-term stock trends show stable growth
- Moving averages help identify bullish and bearish trends
- Random Forest model achieved low prediction error
- Backtesting shows strong long-term returns
- Machine learning model provided accurate predictions
- Clone the repository:
git clone https://github.com/Yashu-teach/Coca-Cola-Stock-Analysis-Project.git