Generate OANDA class object for a connection to OANDA
1 | generate_oanda(token, account_type)
|
token |
A personal access token given by OANDA. See http://developer.oanda.com/rest-live/authentication/ |
account_type |
"practice" or "trade". Specify the subdomain for the request (fxTrade Practice(api-fxpractice.oanda.com) or fxTrade(api-fxtrade.oanda.com)) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.