Description Usage Arguments Value Examples
View source: R/OandaForexLabs.R
Returns up to 4 years worth of Commitments of Traders data from the CFTC for supported currencies. This is essentially CFTC’s Non-Commercial order book data.
1 | COT.Oanda(ACCOUNT_TYPE, ACCESS_TOKEN, INSTRUMENTS = "EUR_USD")
|
ACCOUNT_TYPE |
"practice", "real" or "sandbox" |
ACCESS_TOKEN |
The authorization bearer token previously obtained by the client, can be found in oanda environment |
INSTRUMENTS |
Instrument to get candlestick data for e.g. "AUD_USD" |
A data.table
1 2 | cot = COT.Oanda(.oandaEnv$ACCOUNT_TYPE, .oandaEnv$ACCESS_TOKEN, INSTRUMENTS = 'AUD_USD')
cot
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.