oanda_set_key | R Documentation |
Save OANDA fxTrade API key (personal access token) to the system credential store.
oanda_set_key()
The key is read interactively. Separate keys can be set for practice and live accounts - please choose the correct account type when prompted.
This function only needs to be called once to set the key; it does not need to be called each session.
This function has a dependency on the 'keyring' package.
Invisible NULL. A key is set in the default keyring under the service name 'OANDA_API_KEY' for practice accounts or 'OANDA_LIVE_KEY' for live accounts.
Please refer to the OANDA fxTrade API vignette by calling:
vignette("xoanda", package = "ichimoku")
.
if (interactive()) {
# Only run example in interactive R sessions
oanda_set_key()
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.