We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 29063c6 commit 6f85da9Copy full SHA for 6f85da9
pandas_datareader/tests/av/test_av_time_series.py
@@ -194,3 +194,17 @@ def test_av_intraday(self):
194
assert len(df) > 1000
195
assert "open" in df.columns
196
assert "close" in df.columns
197
+
198
+ def test_av_forex_daily(self):
199
+ df = web.DataReader(
200
+ "USD/JPY",
201
+ "av-forex-daily",
202
+ start=self.start,
203
+ end=self.end,
204
+ retry_count=6,
205
+ pause=20.5,
206
+ )
207
+ assert df.columns.equals(self.col_index[:4]) # No volume col for forex
208
+ assert len(df) == 718
209
+ assert df.loc["2015-02-09"]["close"] == 118.6390
210
+ assert df.loc["2017-05-24"]["high"] == 112.1290
0 commit comments