[Experimental] This method brings orders states in real time using web socket protocol.

trading_ws_orders(
  connection,
  destination,
  account = NA,
  only_active = FALSE,
  where_is_env = .GlobalEnv
)

Arguments

connection

S4. Mandatory Formal rRofexConnection class object

destination

String. Name of the tibble where the data is going to be stored.

account

List. List of accounts to be listeting

only_active

Logical. Wheater or not to listen to only active orders

where_is_env

Environment. Only for advance users.

Value

If correct, it will load a tibble.

See also

Other websocket functions: trading_ws_close(), trading_ws_md()