Re: [Quickfix-users] Required field Missing 35 on NewOrderSingle Market Order
Brought to you by:
orenmnero
From: Lucio F. <dog...@ya...> - 2012-10-09 18:39:20
|
Ah... found the cause of the error.... On the server side, I was doing: std::string msgType = message.getField(FIX::FIELD::MsgType); instead of std::string msgType = message.getHeader().getField(FIX::FIELD::MsgType); It was throwing an exception, which generated the error message...... Tricky.... It seems to be working now. ________________________________ From: Grant Birchmeier <gbi...@co...> To: Lucio Flores <dog...@ya...> Cc: Hei Chan <str...@ya...>; quickfix <qui...@li...> Sent: Tuesday, October 9, 2012 7:19 AM Subject: Re: [Quickfix-users] Required field Missing 35 on NewOrderSingle Market Order Is your server running the QuickFIX engine? If not, all we can do is verify that the client is sending a protocol-correct message. Can you paste the part of your client's log that contains the message and the reject response? (Please replace the nul separators with "|" or some other character.) -Grant On Tue, Oct 9, 2012 at 12:19 AM, Lucio Flores <dog...@ya...> wrote: QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/html/index.html >QuickFIX Support: http://www.quickfixengine.org/services.html > > > >I can retrieve it myself, the FIX::Application server is sending this error on its own. > > > > >________________________________ > From: Hei Chan <str...@ya...> >To: Lucio Flores <dog...@ya...>; quickfix <qui...@li...> >Sent: Monday, October 8, 2012 10:17 PM >Subject: Re: [Quickfix-users] Required field Missing 35 on NewOrderSingle Market Order > > >Could you show us how you retrieve tag 35? > > > > > > >________________________________ > From: Lucio Flores <dog...@ya...> >To: quickfix <qui...@li...> >Sent: Monday, October 8, 2012 10:04 PM >Subject: [Quickfix-users] Required field Missing 35 on NewOrderSingle Market Order > >QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/html/index.html >QuickFIX Support: http://www.quickfixengine.org/services.html > > > >Don't know why the the FIX server is throwing this error. Using Fix.4.4, I've got a client generating a Market Order. Its being received by the Server, but its returning an error. > >The Logon is successful on the client and server side. Then the client sends a market order: > >Header [8=FIX.4.4 | 9=130 | 35=D | 34=92 | 49=BROKER_CLIENT | 52=20121009-00:58:44.283 | 56=BROKER_SERVER | ] Body [11=0 | 21=1 | 38=100 | 40=1 | 54=1 | 55=JNJ | 59=0 | 60=20121009-00:58:44 | ] Trailer [10=035 | ] > > > >This is received from the 'fromApp' method of the server. The server then responds with: > (Message 92 Rejected: Conditionally Required Field Missing:35) > > >Field35 is clearly there, can't see why the server is responding with an error. > > >------------------------------------------------------------------------------ >Don't let slow site performance ruin your business. Deploy New Relic APM >Deploy New Relic app performance management and know exactly >what is happening inside your Ruby, Python, PHP, Java, and .NET app >Try New Relic at no cost today and get our sweet Data Nerd shirt too! >http://p.sf.net/sfu/newrelic-dev2dev >_______________________________________________ >Quickfix-users mailing list >Qui...@li... >https://lists.sourceforge.net/lists/listinfo/quickfix-users > > > > > >------------------------------------------------------------------------------ >Don't let slow site performance ruin your business. Deploy New Relic APM >Deploy New Relic app performance management and know exactly >what is happening inside your Ruby, Python, PHP, Java, and .NET app >Try New Relic at no cost today and get our sweet Data Nerd shirt too! >http://p.sf.net/sfu/newrelic-dev2dev >_______________________________________________ >Quickfix-users mailing list >Qui...@li... >https://lists.sourceforge.net/lists/listinfo/quickfix-users > > -- Grant Birchmeier Connamara Systems, LLC Made-To-Measure Trading Solutions. Exactly what you need. No more. No less. http://connamara.com |