Simple regression based stock predictor using multiple technical indicators.
- Pulls relevant stock data till the last trading day for given ticker symbol.
- Select technical indicators from given list as pandas columns
- Run regression to get the predicted price.
Employed technical indicators:
- Moving averages
- MACD (12, 26)
- RSI
- Stochastic
Required libraries:
-
sklearn
-
yfinance:
Installation instructions:
- Using pip:
pip install yfinance --upgrade --no-cache-dir
- Using conda:
conda install -c ranaroussi yfinance
- Using pip:
-
Numpy
-
Pandas
Future scope: Adding more ta indicators, adding LSTM (RNN models), accuracy/loss matrix.
Stay tuned for more...