I am learning and using the pandas and python.
Today, I am trying to make a fx rate table, but I got a trouble with getting the pricess of \'USDJPY\'.
When I
Get the historical exchange rates from OANDA http://pandas-datareader.readthedocs.io/en/latest/remote_data.html
In [1]: from pandas_datareader.oanda import get_oanda_currency_historical_rates
In [2]: start, end = "2016-01-01", "2016-06-01"
In [3]: quote_currency = "USD"
In [4]: base_currency = ["EUR", "GBP", "JPY"]
In [5]: df_rates = get_oanda_currency_historical_rates(
start, end,
quote_currency=quote_currency,
base_currency=base_currency
)
In [6]: print(df_rates)
Update: Oanda started charging for this lately https://www.oanda.com/fx-for-business/exchange-rates-api