Description Usage Arguments Value References Examples
Call the OANDA pricing API to retrieve prices of currency pairs.
1 2 3 | pricing(base_currency, quote_currency, since = Sys.time() - 3600,
account_id = Sys.getenv("OANDA_ACCOUNT_ID", NA),
access_token = Sys.getenv("OANDA_ACCESS_TOKEN", NA))
|
base_currency |
A 3 letter ISO 4217 currency name. |
quote_currency |
A 3 letter ISO 4217 currency name. |
since |
A time in the past, or |
A data_frame
with one row per currency pair.
http://developer.oanda.com/rest-live-v20/pricing-ep/#CurrentPrices
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.