Skip to content

Commit 9b91a39

Browse files
Merge pull request #2681 from smty2018/stock
Stock Price Direction Prediction ML Model
2 parents 2f724d9 + 2156d98 commit 9b91a39

File tree

2 files changed

+1639
-0
lines changed

2 files changed

+1639
-0
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Aim
2+
Aims to predict whether the stock price of Tesla Inc. will increase or decrease in the next two days, leveraging technical indicators and moving averages.Performs a classification task on historical stock price data of Tesla Inc. (TSLA). It uses a Random Forest classifier to predict whether the stock price will increase ('1') or decrease ('0') in the next two days based on various technical indicators and moving averages.
3+
4+
Details
5+
Random Forest classifier is employed for the prediction, and GridSearchCV hyperparameter tuning is performed to optimize model performance. The dataset is downloaded using the Yahoo Finance API and contains columns for 'Open,' 'High,' 'Low,' 'Close,' and 'Volume' prices. It calculates moving averages, Bollinger Bands, Relative Strength Index (RSI), and Commodity Channel Index (CCI) as additional features for the classification.

0 commit comments

Comments
 (0)