Getting yf.download() to work like it did in v0.2.41 #2204
fja05680
started this conversation in
Development
Replies: 1 comment 1 reply
-
Default multilevel index is because |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
After some amount of time, I was able to figure out I needed:
df = yf.download(symbol, start, end, auto_adjust=False, multi_level_index=False, progress=False)
Specifically, you need to add auto_adjust=False to get the Adj Close and not adjust with the other price fields, and multi_level_index=False to make Dataframe easier. I really feel like the defaults should be to preserve backward compatibility.
Beta Was this translation helpful? Give feedback.
All reactions