trading_ws_close(close_all = TRUE, selection, where_is_env = .GlobalEnv)
Logical. Should all connections be closed or only the selected ones.
List. Is the same name that you have chosen for destination in trading_ws_md
Environment. Only for advance users.
If correct, it will show a message saying that the connection has been closed.
Other websocket functions:
trading_ws_md()
,
trading_ws_orders()
# To close all connections at once
if (FALSE) {
trading_ws_close(close_all = TRUE)
}