{{Quickfixn}} Help me in resolving msgType 35=W issue

Grant Birchmeier gbirchmeier at connamara.com
Mon Nov 25 08:01:10 PST 2013


Nirjhar,

The message passed to Next(msgStr) is what HSBC is actually sending to you.

The first version you pasted is messed up because I think your
DataDictionary xml file is not correct.  As I've told you a few times now,
9063 is not a default FIX field.  HSBC invented it.  You need to edit your
DD xml file to define this field and you need to specify where in the W
message's 269 group it is located.
See http://quickfixn.org/tutorial/custom-fields-groups-and-messages

Also, do you have "UseDataDictionary=Y" and "DataDictionary=path/to/xml" in
your config file?  You need these.


*TIP:* In the future, when pasting messages, please changing the field
separators to something readable.  For example, please change this:
8=FIX.4.49=20735=W34=4...
To this:
8=FIX.4.4|9=207|35=W|34=4...
So that these messages are easier to read and we can help you better.



On Fri, Nov 22, 2013 at 3:11 AM, Nirjhar Jain <nirjhar.jain at commdel.net>wrote:

> Hi All,
>
>
>
> I am receiving MarketDataSnapshotFullRefresh 35=W from the HSBC server i.e.
>
> 8=FIX.4.49=020735=W49=HSBCAPFIX56=KRISQLSSTR34=452=20131122-08
> :51:58.24457=KRIS55=USD/JPY262=MARKETDATAID08:53:19.9019294268=2269=0270=101.026271=1000000272=20131126299=00c00000001:A9063=SP269=1270=101.03410=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.49=20735=W34=449=HSBCAPFIX52=20131122-08
> :51:58.24456=KRISQLSSTR57=KRIS55=USD/JPY262=MARKETDATAID08:53:19.9019294269=1270=101.0349063=SP268=2269=0270=101.026271=1000000272=20131126299=00c00000001:A10=134
>
>
>
> If we pass it to Next(message); message, It is giving error and
> generating QuoteReject message as below:
>
>
>
> 8=FIX.4.49=14635=334=449=KRISQLSSTR50=KRIS52=20131122-08:54:07.03856=HSBCAPFIX45=458=Incorrect
> NumInGroup count for repeating group371=268372=W373=1610=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
>
>
> *COMMDEL*
>
> Commdel Consulting Services P Ltd,
>
> H-134, Sector-63, Noida - U.P. (India)
>
>
>
> www.commdel.net
>
> *A n   **I S O     9 0 0 1 : 2 0 0 8**      C e r t i f i e d     C o m p
> a n y*
>
> *Payment*           *Enterprise*            *Mobility*
> *Internet*
>
>
>



-- 
Grant Birchmeier
*Connamara Systems, LLC*
*Made-To-Measure Trading Solutions.*
Exactly what you need. No more. No less.
http://connamara.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quickfixn.com/pipermail/quickfixn-quickfixn.com/attachments/20131125/f341cf84/attachment-0002.htm>


More information about the Quickfixn mailing list