Re: [Quickfix-developers] FIX44 OrderMassStatusRequest Incorrect data format for value371=585
Brought to you by:
orenmnero
From: Hei C. <str...@ya...> - 2013-01-01 05:59:33
|
FIX protocol is a string based protocol. Hence, if you use a char, it will be read as an integer for the integer field anyway. FIX protocol itself doesn't have much enforcement on anything (except certain fundamental requirements). Hence, it is up to how the counterparty wants to deal with error cases. I even encountered some counterparties do not even generate any error message when my messages are semantically "wrong". ________________________________ From: "McGill, Jeffrey" <jm...@On...> To: Hei Chan <str...@ya...>; "Qui...@li..." <Qui...@li...> Sent: Monday, December 31, 2012 9:40 PM Subject: Re: [Quickfix-developers] FIX44 OrderMassStatusRequest Incorrect data format for value371=585 If I sent an integer, but the wrong value, shouldn't I get a different error? I expect a value out of range error, not incorrect data format. Tag 585 is defined as int, and thats what I'm sending, so I'm confused. Sent from my Droid Charge on Verizon 4GLTE Hei Chan wrote: What I mean is that your counterparty has a specific range of integer value for tag value 585. Usually, you have to work with your counterparty to figure out why you get the error in this kind of case. ________________________________ From: "McGill, Jeffrey" <jm...@On...> To: Hei Chan <str...@ya...>; "Qui...@li..." <Qui...@li...> Sent: Monday, December 31, 2012 9:11 PM Subject: Re: [Quickfix-developers] FIX44 OrderMassStatusRequest Incorrect data format for value371=585 I don't think it's the value, it's the data type. the field is defined as int, but int is failing. 585=1 gets same error. When I send a char, I get value out of range. Sent from my Droid Charge on Verizon 4GLTE Hei Chan wrote: It is likely that your counterparty rejected your message because it expected something other than 7 for tag 585...unlikely a bug in QF. ________________________________ From: "McGill, Jeffrey" <jm...@On...> To: "Qui...@li..." <Qui...@li...> Sent: Monday, December 31, 2012 1:07 PM Subject: [Quickfix-developers] FIX44 OrderMassStatusRequest Incorrect data format for value371=585 QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/html/index.html QuickFIX Support: http://www.quickfixengine.org/services.html Message is AF OrderMassStatusRequest The problem field is MassStatusReqType tag 585. I keep getting “ Incorrect data format for value371=585” when I use an int. Tag 585 is defined as int. Is this a bug? My messages: <20121231-18:47:40.574, FIX.4.4:GS01_1->ONEMATCH, outgoing> (8=FIX.4.49=8935=AF34=249=GS01_152=20121231-18:47:40.57456=ONEMATCH115=CSF1116=CSINC584=E585=710=118) <20121231-18:47:40.574, FIX.4.4:GS01_1->ONEMATCH, incoming> (8=FIX.4.49=13735=334=249=ONEMATCH52=20121231-18:47:40.57456=GS01_1128=CSF1129=CSINC45=258=Incorrect data format for value371=585372=AF373=610=058) ________________________________ The information transmitted herein is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. This message is not a recommendation, offer or solicitation to buy or sell anything. Any examples, prices or quotations contained herein are indicative only and an order based on such information can only be executed through a duly registered broker/dealer or futures commission merchant. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information is prohibited. If you received this in error, please contact the sender and delete the material from any computer. OneChicago, LLC is a Delaware limited liability company. ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122412 _______________________________________________ Quickfix-developers mailing list Qui...@li... https://lists.sourceforge.net/lists/listinfo/quickfix-developers ________________________________ The information transmitted herein is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. This message is not a recommendation, offer or solicitation to buy or sell anything. Any examples, prices or quotations contained herein are indicative only and an order based on such information can only be executed through a duly registered broker/dealer or futures commission merchant. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information is prohibited. If you received this in error, please contact the sender and delete the material from any computer. OneChicago, LLC is a Delaware limited liability company. ________________________________ The information transmitted herein is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. This message is not a recommendation, offer or solicitation to buy or sell anything. Any examples, prices or quotations contained herein are indicative only and an order based on such information can only be executed through a duly registered broker/dealer or futures commission merchant. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information is prohibited. If you received this in error, please contact the sender and delete the material from any computer. OneChicago, LLC is a Delaware limited liability company. |