Description Usage Arguments Examples
Get details for one of the accounts owned by the user
1 | account_info(token, accountId, accountType = c("Trade", "Practice"))
|
token |
The personal access token. There is a link on your OANDA fxTrade account profile page titled 'Manage API Access' (My Account -> My Services -> Manage API Access). From there, you can generate a personal access token to use with the OANDA API, as well as revoke a token you may currently have. |
accountId |
The account id to fetch the list of info for. Can be retrieved with a call of |
accountType |
The subdomain for the request is dependent on the environment you wish to obtain access tokens for. Possible choices are Practice or Trade |
1 | account_info('my_token_1234', 'my_account_1234')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.