Esempio n. 1
0
 public void ProcessNotification(IOINotification notification)
 {
     if (this.field.previousValue() != this.field.Value())
     {
         this.SetStale();
     }
 }
Esempio n. 2
0
 //EasyIOI Notification
 public void ProcessNotification(IOINotification notification)
 {
     if (notification.category == IOINotification.NotificationCategory.IOIDATA && (notification.type == IOINotification.NotificationType.NEW))
     {
         this.parseIOI(notification.GetIOI());
     }
 }
Esempio n. 3
0
        //EasyIOI Notification
        public void ProcessNotification(IOINotification notification)
        {
            if (notification.category == IOINotification.NotificationCategory.IOIDATA && (notification.type == IOINotification.NotificationType.NEW))
            {
                //Create conflict set with all current orders.
                IOI i = notification.GetIOI();

                log(i.field("ioi_instrument_stock_security_ticker").Value());
                log("Creating conflict set for IOI: " + i.field("id_value").Value().ToString());

                foreach (Order o in emsx.orders)
                {
                    CreateConflictDataSet(i, o);
                }
            }
        }