-
Notifications
You must be signed in to change notification settings - Fork 683
Open
Description
Purpose:
I want to use pandas-datareader to retrieve USDJPY data.
Steps to reproduce
res = DataReader('USDJPY', 'stooq')res shows no data
Reason of Empty Data
-
The origin url is
https://stooq.com/q/d/l/?s=USDJPYIt returns data. -
But because of ⬇️
if not symbol.startswith("^"): -
The url will be transformed to
GET /q/d/l/?s=USDJPY.US
Solutions
- Currently I couldn't figure out a way to make it.
- I noticed 3398e41 this commit in the file
pandas_datareader/stooq.pyintroduced many complicated statements that make it impossibe to do this kind of API Request.
Metadata
Metadata
Assignees
Labels
No labels