public void ProcessNotification(IOINotification notification) { if (this.field.previousValue() != this.field.Value()) { this.SetStale(); } }
//EasyIOI Notification public void ProcessNotification(IOINotification notification) { if (notification.category == IOINotification.NotificationCategory.IOIDATA && (notification.type == IOINotification.NotificationType.NEW)) { this.parseIOI(notification.GetIOI()); } }
//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); } } }