This project predicts stock prices using a combination of Linear Regression and advanced modeling techniques (Random Forest). It integrates multiple stocks and technical indicators for a comprehensive analysis.
- Supports multiple stock tickers (e.g., AAPL, TSLA, BRK.B, etc.).
- Calculates advanced indicators such as RSI and Bollinger Bands.
- Implements Linear Regression and Random Forest models.
- Visualizes actual vs. predicted prices.
- Python 3.7+
- Libraries:
pandas
numpy
matplotlib
seaborn
alpha_vantage
ta
scikit-learn
- Clone the repository:
git clone https://github.com/your-username/stock-price-prediction.git
pip install -r requirements.txt
python stock_prediction.py
Model Performance: Random Forest Mean Squared Error (MSE): 83.4341 Random Forest R²: 0.9999
Visualization:
This project is licensed under the MIT License.