This repository contains a Python script that performs the following tasks:
- Data Retrieval: Downloads historical stock market data for Apple Inc. (AAPL) from Yahoo Finance.
- Data Processing: Prepares the data for analysis, including extracting relevant features and scaling.
- Visualization: Creates a candlestick chart to visualize Apple's stock price trends.
- Machine Learning: Trains a Long Short-Term Memory (LSTM) model to predict future stock prices based on historical data.
Make sure you have the following Python packages installed:
pandas
yfinance
plotly
scikit-learn
keras
numpy
You can install them using pip:
pip install pandas yfinance plotly scikit-learn keras numpy