Skip to content

get_data_yahoo returns NaN record for future date for TGT #816

Open
@leschrh69

Description

@leschrh69

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions