internal static dynamic NoPartyIDs(SessionID sid) { if (sid == null) { return(null); } string value = sid.getBeginString(); if (value.Equals("FIX.4.3")) { return(new QuickFix43.NewOrderSingle.NoPartyIDs()); } if (value.Equals("FIX.4.4")) { return(new QuickFix44.NewOrderSingle.NoPartyIDs()); } if (value.Equals("FIX.5.0")) { return(new QuickFix50.NewOrderSingle.NoPartyIDs()); } return(null); }
internal static dynamic OrderCancelRequest(SessionID sid) { if (sid == null) { return(null); } string value = sid.getBeginString(); if (value.Equals("FIX.4.0")) { return(new QuickFix40.OrderCancelRequest()); } if (value.Equals("FIX.4.1")) { return(new QuickFix41.OrderCancelRequest()); } if (value.Equals("FIX.4.2")) { return(new QuickFix42.OrderCancelRequest()); } if (value.Equals("FIX.4.3")) { return(new QuickFix43.OrderCancelRequest()); } if (value.Equals("FIX.4.4")) { return(new QuickFix44.OrderCancelRequest()); } if (value.Equals("FIX.5.0")) { return(new QuickFix50.OrderCancelRequest()); } return(null); }