MDEntryPx - Incorrect data format for value

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

MDEntryPx - Incorrect data format for value

Harwinder Sidhu
QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/html/index.html
QuickFIX Support: http://www.quickfixengine.org/services.html


Hi,

I'm facing a weird error, where my FIX application is rejecting a MarketData - Incremental Refresh (MsgType=X) message on a particular production machine. 

The error is - Incorrect data format for value:270. Tag 270 is Price tag and it looks okay to me in the message below for all the MD entries.

So, I copied the message from the production machine, built a small counterparty application which would send this message to my particular application. And, the application works fine on my development machine.

Again, I copied the counterparty app and my FIX application on the production machine and the error is reproducible, which is strange.

I have checked for the obvious: same FIX44.xml file, same settings file, the checksum of the libquickfix.so.14.0.0 is same on both the machines. 

Any other obvious issue, which I might be overlooking here?

Thanks.

8=FIX.4.4^A9=833^A35=X^A34=5^A49=BCSG^A52=20151112-10:17:35.257^A56=BTFOREXCERT^A262=3^A268=10^A279=0^A269=5^A55=AGUAS-A^A167=CS^A207=XSGO^A270=362.62^A290=1
^A279=0^A269=7^A55=AGUAS-A^A167=CS^A207=XSGO^A290=1^A279=0^A269=8^A55=AGUAS-A^A167=CS^A207=XSGO^A290=1^A279=0^A269=4^A55=AGUAS-A^A167=CS^A207=XSGO^A270=362.62^A290=1^A279=0^A269=A^A55=AGUAS-A^A167=CS^A207=XSGO^A290=1^A811=0^A451=0^A279=0^A269=B^A55=AGUAS-A^A167=CS^A207=XSGO^A271=3139^A290=1^A279=0^A269=9^A55=AGUAS-A^A167=CS^A207=XSGO^A290=1^A279=0^A269=D^A55=AGUAS-A^A167=CS^A207=XSGO^A270=1172641^A290=1^A279=0^A269=2^A278=217519^A55=AGUAS-A^A48=AGUAS-A^A22=8^A167=CS^A207=XSGO^A466=|||^A270=381.27^A271=13^A273=16:34:55.348^A336=2^A277=C^A282=1155116634^A288=048^A289=054^A290=1^A811=4957^A58=20151112^A5463=217519^A279=2^A269=0^A278=49-381.27^A55=AGUAS-A^A48=CL0000000035^A22=4^A167=CS^A207=XSGO^A876=S^A466=|||^A270=381.27^A271=13^A273=16:33:49.192^A277=C^A18=A^A346=1^A290=1^A10124=564^A10=203^A

------------------------------------------------------------------------------

_______________________________________________
Quickfix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quickfix-users
Reply | Threaded
Open this post in threaded view
|

Re: MDEntryPx - Incorrect data format for value

Harwinder Sidhu
QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/html/index.html
QuickFIX Support: http://www.quickfixengine.org/services.html


Please ignore the previous email... this error was due to my naivete :-(

I had code like the following:

FIX::MDEntryPx price;
if (mdEntry.isSetField( FIX::FIELD::MDEntryPx ))
  mdEntry.get( price );

And, somewhere at the bottom of the function, I had a naked get, which did not check if the field exists:

someotherfunction( price );

However, when the price field (MDEntryPx, tag 270) was not set, this would result in an exception, which sent the reject message to the counterparty, saying "Incorrect data format for value".

On Thu, Nov 12, 2015 at 4:00 PM, Harwinder Sidhu <[hidden email]> wrote:
Hi,

I'm facing a weird error, where my FIX application is rejecting a MarketData - Incremental Refresh (MsgType=X) message on a particular production machine. 

The error is - Incorrect data format for value:270. Tag 270 is Price tag and it looks okay to me in the message below for all the MD entries.

So, I copied the message from the production machine, built a small counterparty application which would send this message to my particular application. And, the application works fine on my development machine.

Again, I copied the counterparty app and my FIX application on the production machine and the error is reproducible, which is strange.

I have checked for the obvious: same FIX44.xml file, same settings file, the checksum of the libquickfix.so.14.0.0 is same on both the machines. 

Any other obvious issue, which I might be overlooking here?

Thanks.

8=FIX.4.4^A9=833^A35=X^A34=5^A49=BCSG^A52=20151112-10:17:35.257^A56=BTFOREXCERT^A262=3^A268=10^A279=0^A269=5^A55=AGUAS-A^A167=CS^A207=XSGO^A270=362.62^A290=1
^A279=0^A269=7^A55=AGUAS-A^A167=CS^A207=XSGO^A290=1^A279=0^A269=8^A55=AGUAS-A^A167=CS^A207=XSGO^A290=1^A279=0^A269=4^A55=AGUAS-A^A167=CS^A207=XSGO^A270=362.62^A290=1^A279=0^A269=A^A55=AGUAS-A^A167=CS^A207=XSGO^A290=1^A811=0^A451=0^A279=0^A269=B^A55=AGUAS-A^A167=CS^A207=XSGO^A271=3139^A290=1^A279=0^A269=9^A55=AGUAS-A^A167=CS^A207=XSGO^A290=1^A279=0^A269=D^A55=AGUAS-A^A167=CS^A207=XSGO^A270=1172641^A290=1^A279=0^A269=2^A278=217519^A55=AGUAS-A^A48=AGUAS-A^A22=8^A167=CS^A207=XSGO^A466=|||^A270=381.27^A271=13^A273=16:34:55.348^A336=2^A277=C^A282=1155116634^A288=048^A289=054^A290=1^A811=4957^A58=20151112^A5463=217519^A279=2^A269=0^A278=49-381.27^A55=AGUAS-A^A48=CL0000000035^A22=4^A167=CS^A207=XSGO^A876=S^A466=|||^A270=381.27^A271=13^A273=16:33:49.192^A277=C^A18=A^A346=1^A290=1^A10124=564^A10=203^A


------------------------------------------------------------------------------

_______________________________________________
Quickfix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quickfix-users