Skip to content

Error Originating from price_history.py #14

@rsloma

Description

@rsloma

I was trying to use this wrapper and was getting this error. I then created a new file and tried running your example code presented at https://pypi.org/project/alphavantage/ and obtained the same error. Please fix since I would like to use this to obtain the date from the alphavantage data as a check when running code to add another day's data to a database.

File "C:\Users\User\Anaconda3\lib\site-packages\alphavantage\price_history.py", line 136, in get_results
updated_at, timezone, is_intraday = self.transform_meta_data(response['Meta Data'])

KeyError: 'Meta Data'

Or, if you could give me an idea of how to obtain the datestamp from the json file data that is normally downloaded, that would help too.

Thanks.

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