This method it is use to close open Websocket connections.

trading_ws_close(close_all = TRUE, selection, where_is_env = .GlobalEnv)

## Arguments

close_all

Logical. Should all connections be closed or only the selected ones.

selection

List. Is the same name that you have chosen for destination in trading_ws_md

where_is_env

## Value

If correct, it will show a message saying that the connection has been closed.

Other websocket functions: trading_ws_md(), trading_ws_orders()