Exemplo n.º 1
0
 void initsot()
 {
     if ((sot == null) && isExecuteSubscribing)
     {
         sot = new SendorderTracker(execute, 100);
         sot.SubscribeBeforeSend = isExecuteSubscribing;
         sot.SendDebugEvent     += new DebugDelegate(debug);
         sot.OrderIdStatusEvent += new OrderId_Status(sot_OrderIdStatusEvent);
         sot.ResendOnSelectError = true;
         sot.SelectedErrors.Add((int)MessageTypes.SYMBOL_NOT_LOADED);
     }
 }
Exemplo n.º 2
0
 void initsot()
 {
     if ((sot == null) && isExecuteSubscribing)
     {
         sot = new SendorderTracker(execute, 100);
         sot.SubscribeBeforeSend = isExecuteSubscribing;
         sot.SendDebugEvent+=new DebugDelegate(debug);
         sot.OrderIdStatusEvent += new OrderId_Status(sot_OrderIdStatusEvent);
         sot.ResendOnSelectError = true;
         sot.SelectedErrors.Add((int)MessageTypes.SYMBOL_NOT_LOADED);
         
         
     }
 }