good afternoon
How can I send crossId with NewOrderSingle?
My code structure is:
NewOrderSingle newOrder = new QuickFix.FIX44.NewOrderSingle ();
newOrder.SetField (new CrossID (“CROSSID-0001”)); newOrder.SetField (new CrossType (CrossType.CROSS_TRADE_WHICH_IS_EXECUTED_COMPLETELY_OR_NOT)); newOrder.SetField (new TrdType (TrdType.TRANSFER));
But I get the error:
58 = Tag not defined for this message type 371 = 548
Can someone help me please? :sorrindo:
thanks.
Field CrossID(548) is not part of NewOrderSingle(35=D). Why do you want to send CrossID(548) with this message? Standard approach is to use NewOrderCross(35=s) for the entry of a cross order.
Your example above also refers to CrossType(549) = 1 (All-or-none cross). This field is also not part of NewOrderSingle(35=D), use NewOrderCross(35=s) instead.
Really,
Thank for you anwser!
But, this case is especific for one client. I talked whit client, and resolution was add tag in ditictionary: fix44.xml.
Not best, but is expected in the documentation