public virtual void onMessage( OrderCancelRequest message, QuickFix.SessionID session ) 
   { throw new QuickFix.UnsupportedMessageType(); }
Exemplo n.º 2
0
 private void CancelOrder(string id)
 {
     if (id != null)
     {
         if (ordersAll.ContainsKey(id))
         {
             OrigClOrdID orig = new OrigClOrdID(id);
             OrderInfo info = (OrderInfo)ordersAll[id];
             ClOrdID clordid = new ClOrdID(GetNextID());
             Symbol symbol=info.Order .getSymbol ();
             QuickFix.Side side = info.Order.getSide();
             TransactTime time = new TransactTime();
             QuickFix42.OrderCancelRequest cxl = new OrderCancelRequest(orig ,clordid ,symbol ,side,time);
             _quickFixWrapper.Send(cxl);
         }
     }
 }
Exemplo n.º 3
0
 public virtual void onMessage(OrderCancelRequest message, QuickFix.SessionID session)
 {
     throw new QuickFix.UnsupportedMessageType();
 }
Exemplo n.º 4
0
 public void Add(OrderCancelRequest request)
 {
     //cxlrplList.Add(request);
     ordList.Add(request.getClOrdID().getValue(), request);
 }