private void ProcessMarketDepthCancel() { int reqId = -1; try { var reqVersion = _enc.DecodeInt(); reqId = _enc.DecodeInt(); OnMarketDepthCancel(reqId); } catch (Exception e) { OnError(reqId, TWSErrors.FAIL_SEND_CANMKTDEPTH); OnError(e.Message); Disconnect(); } }