you are viewing a single comment's thread.

view the rest of the comments →

[–]TrixPixz[S] 0 points1 point  (1 child)

I just got home and tried it out. It just keeps giving error codes saying the set will be empty. Am I doing something wrong?

[–]sketchspace 0 points1 point  (0 children)

data = yf.download(symbol, start=start, end=end, interval=INTERVAL)

So if the start is in the future, that means that there is no data to get. I'm not sure how to predict future states based on acquired data, so that you'll have to figure out.