orders: Get orders for an account

Description Usage Arguments

View source: R/order.R

Description

This function will return all pending orders for an account. See the following link for further information: http://developer.oanda.com/rest-live/orders/#getOrdersForAnAccount

Usage

1
2
orders(oanda, max_id = NULL, count = NULL, instrument = NULL,
  ids = NULL, account_id = NULL)

Arguments

max_id

The server will return orders with id less than or equal to this, in descending order (for pagination).

count

Maximum number of open orders to return. Default: 50. Max value: 500.

instrument

Retrieve open orders for a specific instrument only. Default: all.

ids

An URL encoded comma ( No other parameter may be specified with the ids parameter.


beykuet/ROandaAPI documentation built on May 6, 2019, 2:30 p.m.