Description Usage Arguments Value See Also
This method brings orders states in real time using web socket protocol.
1 2 3 4 5 6 7 | trading_ws_orders(
connection,
destination,
account = NA,
only_active = FALSE,
where_is_env = .GlobalEnv
)
|
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. |
If correct, it will load a tibble.
Other websocket functions:
trading_ws_close()
,
trading_ws_md()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.