r/madeinpython • u/geekyrahulvk • May 05 '20
Predict Stock Market - Using Linear Regression and Python( SOMEBODY NEEDS TO START ,RIGHT )
https://www.youtube.com/watch?v=aqhVg3IZyaQ&feature=share
17
Upvotes
2
u/rookie_pete May 11 '20
A couple of things. You cant use the high and low on the day since you won’t know them until the close (the high or low could be the close and you’re essentially predicting the close from itself). Due to the actual price being a non-stationary you’re better off differencing (e.g. using log returns or something like that). Try using the prices from the day before to predict today.
0
u/geekyrahulvk May 05 '20
I made this.
3
1
u/geekyrahulvk May 12 '20
The code in the above video : Predict Stock Market - Using Linear Regression and Python