Mida
Mida copied to clipboard
Create "connect" and "disconnect" events
trafficstars
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 disconnectedconnectfired when the trading account is reconnected
Including the following hooks for trading systems
onDisconnectonConnect
Further design details should be discussed here
I think it's a good idea to watch the socket events.