[Quickfix-users] tag Sequence in a Message
Brought to you by:
orenmnero
From: <qui...@th...> - 2009-03-26 11:51:48
|
Hello, I have a Problem with the tag sequence in a Fix Message. I like to send a QuoteRequest with this Source: (I work with multiple FIX versions) Message quoterequest3=new Message(); Header header=quoterequest3.getHeader(); header.setField(new BeginString("FIX.4.2")); header.setField(new SenderCompID(senderID)); header.setField(new TargetCompID(targetID)); header.setField(new MsgType("R")); quoterequest3.setField(new QuoteReqID("123ID")); quoterequest3.setField(new NoRelatedSym(1)); quoterequest3.setField(new Symbol("symb")); quoterequest3.setField(new SecurityID("AAA012346")); quoterequest3.setField(new IDSource("4")); //ISIN quoterequest3.setField(new Side(Side.BUY)); quoterequest3.setField(new OrderQty(100)); fixSession.sendPerMessageProcessor(quoterequest3); the Quickfix API send a Message like this: 8=FIX.4.29=10935=R34=3149=SENDERID52=20090326-10:13:09.63456=TARGETID22=438=10048=DE01234654=155=symb131=123ID146=110=171 This is not correct according to the FIX specification, because the tag 55 (Symbol) must be the first field in the repeating group. The Message should look like this: 8=FIX.4.29=12835=R34=3149=SENDERID52=20090326-10:13:09.63456=TARGETID131=123ID146=155=symb22=438=10048=DE01234654=110=238 Is there a Way to do this? |