{{Quickfixn}} Please help in below mentioned issue.

Nirjhar Jain nirjhar.jain at commdel.net
Mon Nov 25 02:10:35 PST 2013


Hi All,

 

I have raised an issue on Saturday, but nobody has replied to it. So I am
posting it again. Please help.

 

I am receiving MarketDataSnapshotFullRefresh 35=W from the HSBC server i.e.

 

8=FIX.4.4 9=0207 35=W 49=HSBCAPFIX 56=KRISQLSSTR 34=4
52=20131122-08:51:58.244 57=KRIS 55=USD/JPY 262=MARKETDATAID08:53:19.9019294
268=2 269=0 270=101.026 271=1000000 272=20131126 299=00c00000001:A 9063=SP
269=1 270=101.034 10=182

 

In my quickfix code, in Session.cs file, Next(string msgStr) function is
getting above mentioned string as msgStr.

 

But inside Next(string msgStr) function when the msgStr is passed inside
below :

Message message = msgFactory_.Create(beginString, msgType.Obj);

                message.FromString(msgStr, this.ValidateLengthAndChecksum,
this.SessionDataDictionary, this.ApplicationDataDictionary,
this.msgFactory_);

 

the message format is getting changed to below one:

 

8=FIX.4.4 9=207 35=W 34=4 49=HSBCAPFIX 52=20131122-08:51:58.244
56=KRISQLSSTR 57=KRIS 55=USD/JPY 262=MARKETDATAID08:53:19.9019294 269=1
270=101.034 9063=SP 268=2 269=0 270=101.026 271=1000000 272=20131126
299=00c00000001:A 10=134

 

If we pass it to Next(message); function, It is giving error and generating
QuoteReject message as below:

 

8=FIX.4.4 9=146 35=3 34=4 49=KRISQLSSTR 50=KRIS 52=20131122-08:54:07.038
56=HSBCAPFIX 45=4 58=Incorrect NumInGroup count for repeating group 371=268
372=W 373=16 10=173

 

 

Here message.FromString(msgStr, this.ValidateLengthAndChecksum,
this.SessionDataDictionary, this.ApplicationDataDictionary,
this.msgFactory_);

Is changing the sequence of tags and also changing the value of tag 10.

 

Please help me in resolving this issue.

 

 

Thanks & Regards,

Nirjhar Jain

Software Engineer

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quickfixn.com/pipermail/quickfixn-quickfixn.com/attachments/20131125/0a6682fa/attachment.htm>


More information about the Quickfixn mailing list