getOandaCurPricing: Get Priceing Information for Oanda Instruments

Description Usage Arguments Value Examples

View source: R/OandaPricing.R

Description

Get pricing information for a specified list of Instruments within an Account

Usage

1
2
getOandaCurPricing(ACCOUNT_TYPE, ACCESS_TOKEN, ACCOUNT_ID,
  INSTRUMENTS = c("AUD_USD"))

Arguments

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"

Value

A data.frame of current prices

Examples

1
getOandaCurPricing(.oandaEnv$ACCOUNT_TYPE, .oandaEnv$ACCESS_TOKEN, .oandaEnv$ACCOUNT_ID, INSTRUMENTS = c('AUD_USD'))

ivanliu1989/RQuantAPI documentation built on Sept. 13, 2019, 11:54 a.m.