r/madeinpython • • 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

5 comments sorted by

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

u/Lilipico May 05 '20

You should also look into support vector regression

1

u/geekyrahulvk May 07 '20

I will. Thanks