OnConnectionStatus() method is required. The method signature stated in the example for OnOrderStatus() will not compile. I found the following signature would compile. An explanation of the methods purpose would be appreciated.
private ConnectionStatus dataFeed = ConnectionStatus.Connected;
protectedoverridevoid OnOrderStatus(OrderStatusEventArgs e)
{
if (dataFeed != ConnectionStatus.Connected)
{
// Do something
}
}
Comment