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=USDJPY
It returns data. -
But because of ⬇️
-
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.py
introduced many complicated statements that make it impossibe to do this kind of API Request.
Metadata
Metadata
Assignees
Labels
No labels
Activity
begoat commentedon Aug 2, 2021
Maybe we can introduce a custom reader for users to do it themselves?