Mida
Mida copied to clipboard
Create "connect" and "disconnect" events
Currently there is no way to know if a trading application has been disconnected from the trading platform. We could introduce the following events on trading accounts
-
disconnectfired when the trading account socket is disconnected -
connectfired when the trading account is reconnected
Including the following hooks for trading systems
-
onDisconnect -
onConnect
Further design details should be discussed here
I think it's a good idea to watch the socket events.