Description Usage Arguments Value Examples
Get a list of Trades for an Oanda Account
1 2 | getOandaTrades(ACCOUNT_TYPE, ACCESS_TOKEN, ACCOUNT_ID,
INSTRUMENTS = "AUD_USD", OPEN = FALSE)
|
ACCOUNT_TYPE |
"practice", "real" or "sandbox" |
ACCESS_TOKEN |
The authorization bearer token previously obtained by the client, can be found in oanda environment |
ACCOUNT_ID |
ID of the Account to create the Order for. |
INSTRUMENTS |
Instrument to get candlestick data for e.g. "AUD_USD" |
OPEN |
Show only open trades or not |
A data.frame
of trades
1 | getOandaTrades(.oandaEnv$ACCOUNT_TYPE, .oandaEnv$ACCESS_TOKEN, .oandaEnv$ACCOUNT_ID, INSTRUMENTS = c('AUD_USD'))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.