The Lab

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

If the Customer Application gets disconnected from the Whisperer server, the onDisconnect() callback is invoked by the handler. Once the Whisperer server detects the disconnection of the Customer Application, it cancels all outstanding orders associated with the Customer Application.

It is important to note that during this very short window, (between the disconnection of the Customer Application and the order cancellations) a few additional trade messages (confirms) could trickle in. If this occurs, the Customer Application would miss these messages. To replay these missed messages, the Customer Application can make a special replay request, described in the sequenced messages and replay section.

 

Info
titleNote

Note that upon reconnection, if sticky subscriptions are disabled, the Customer Application will need to resubscribe for market data and trading.