1 2 | streaming_price(oanda, instruments, call_back, ignore_heartbeat = TRUE,
session_id = NULL, account_id = NULL)
|
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 ( \itemsession_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. \itemaccount_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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.