ranaroussi / yfinance

Download market data from Yahoo! Finance's API
https://aroussi.com/post/python-yahoo-finance
Apache License 2.0
14.89k stars 2.44k forks source link

For stocks that have splits, the share price seems wrong (such as AAPL) #2076

Closed hello-oscar closed 1 month ago

hello-oscar commented 1 month ago

2020-08-27 00:00:00-04:00,127.14250183105469,127.48500061035156,123.8324966430664,125.01000213623047,122.1653823852539,155552400,0.0,0.0 2020-08-28 00:00:00-04:00,126.01249694824219,126.44249725341797,124.57749938964844,124.80750274658203,121.96747589111328,187630000,0.0,0.0 2020-08-31 00:00:00-04:00,127.58000183105469,131.0,126.0,129.0399932861328,126.10366821289062,225702700,0.0,4.0 2020-09-01 00:00:00-04:00,132.75999450683594,134.8000030517578,130.52999877929688,134.17999267578125,131.126708984375,151948100,0.0,0.0 2020-09-02 00:00:00-04:00,137.58999633789062,137.97999572753906,127.0,131.39999389648438,128.4099578857422,200119000,0.0,0.0 2020-09-03 00:00:00-04:00,126.91000366210938,128.83999633789062,120.5,120.87999725341797,118.12934875488281,257599600,0.0,0.0

AAPL split its stock on 2020-08-31, but when I looked at its stock price before and after, there was no significant change. I used hist_data = stock.history(period="10y", auto_adjust=False) This doesn't seem right

ValueRaider commented 1 month ago

Yahoo auto-apply splits