Mida icon indicating copy to clipboard operation
Mida copied to clipboard

Create "connect" and "disconnect" events

Open Vasile-Peste opened this issue 3 years ago • 1 comments
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

  • disconnect fired when the trading account socket is disconnected
  • connect fired when the trading account is reconnected

Including the following hooks for trading systems

  • onDisconnect
  • onConnect

Further design details should be discussed here

Vasile-Peste avatar Jun 20 '22 18:06 Vasile-Peste

I think it's a good idea to watch the socket events.

dbvcode avatar Jun 21 '22 14:06 dbvcode