pandas-datareader icon indicating copy to clipboard operation
pandas-datareader copied to clipboard

get_data_yahoo returns NaN record for future date for TGT

Open leschrh69 opened this issue 5 years ago • 0 comments

getting the price candle for Target today, 8/17/20, albeit 10pm Pacific via:

pdr.get_data_yahoo('TGT',interval='1d',start='2020-08-15')

will result in:

  Open High Low Close Adj Close Volume
Date            
2020-08-17 137.979996 138.690002 137.399994 138.240005 137.559998 4616400
2020-08-17 137.979996 138.690002 137.399994 138.240005 137.559998 4441207
2020-08-18 NaN NaN NaN NaN NaN NaN

which is somewhat undesired, since 8/18 hasn't happened yet, and the same doesn't happen with another ticker like 'KSS' or 'M', i.e. the result ends with 8/17.

leschrh69 avatar Aug 18 '20 05:08 leschrh69