Esempio n. 1
0
 public void UnRegister(Order order)
 {
     lock (LockObject)
     {
         if (orders.ContainsKey(order.ClOrdID))
             orders.Remove(order.ClOrdID);
     }
 }
Esempio n. 2
0
        void mi_SellClick(object sender, RoutedEventArgs e)
        {
            SecurityEntry entry = (SecurityEntry) ((MenuItem) sender).Tag;

            Order order = new Order(entry.GetBidGroup(), 1);

            FixApplication.Current.RequestOrders(new[] { order.OrderMessage });
        }
Esempio n. 3
0
 public void Register(Order order)
 {
     lock (LockObject)
     {
         if(!orders.ContainsKey(order.ClOrdID))
             orders.Add(order.ClOrdID, order);
     }
 }