streaming_price: Rates Streaming

Usage Arguments

Usage

1
2
streaming_price(oanda, instruments, call_back, ignore_heartbeat = TRUE,
  session_id = NULL, account_id = NULL)

Arguments

call_back

call back function which have a one argument (data.frame).

ignore_heartbeat

boolean. whether ignore heart beat signal from OANDA Streaming API.

instruments:

Required An URL encoded comma (

\item

session_id:A unique session id used to identify the rate stream connection. The value specified must be between 1 to 12 alphanumeric characters. If a request is made with a session id that matches the session id of an existing connection, the older connection will be disconnected. Please see the best practices section for usage examples.

\item

account_id:The account that prices are applicable for.

Open a streaming connection to receive real time market prices for specified instruments. See the following link for further information: http://developer.oanda.com/rest-live/streaming/#ratesStreaming


teramonagi/oandar documentation built on May 8, 2019, 8:51 a.m.