Thread: Re: [Quickfix-developers] Extracting sequence No of fix message in the application
Brought to you by:
orenmnero
From: Aniruddha N <ani...@tc...> - 2009-07-08 16:23:36
|
Yes<BR><BR>Aniruddha Anilkumar Navur<BR>Tata Consultancy Services<BR>Mailto: ani...@tc...<BR>Website: <A href="http://www.tcs.com">http://www.tcs.com</A><BR>____________________________________________<BR>Experience certainty. IT Services<BR>Business Solutions<BR>Outsourcing<BR>____________________________________________ <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0 V5DOTBL="true"> <TR vAlign=top> <TD width="37%" bgColor=#e1e1e1 rowSpan=5><IMG height=1 alt="" src="/icons/ecblank.gif" width=1 border=0><BR> <DIV align=center><B><FONT style="FONT-SIZE: 9pt">Grant Birchmeier <gbi...@co...></FONT></B> <P><FONT style="FONT-SIZE: 9pt">07/08/2009 09:56 EST</FONT></P></DIV></TD> <TD width="1%" bgColor=#e1e1e1><IMG height=1 alt="" src="/icons/ecblank.gif" width=102 border=0><BR> <DIV align=right><FONT style="FONT-SIZE: 9pt">To</FONT> </DIV></TD> <TD width="63%" bgColor=#e1e1e1><IMG height=1 alt="" src="/icons/ecblank.gif" width=1 border=0><BR></TD></TR> <TR vAlign=top> <TD width="1%" bgColor=#e1e1e1><IMG height=1 alt="" src="/icons/ecblank.gif" width=102 border=0><BR> <DIV align=right><FONT style="FONT-SIZE: 9pt">cc</FONT> </DIV></TD> <TD width="63%" bgColor=#e1e1e1><IMG height=1 alt="" src="/icons/ecblank.gif" width=1 border=0><BR><FONT style="FONT-SIZE: 9pt">qui...@li..., vai...@tc...</FONT></TD></TR> <TR vAlign=top> <TD width="1%" bgColor=#e1e1e1><IMG height=1 alt="" src="/icons/ecblank.gif" width=102 border=0><BR> <DIV align=right><FONT style="FONT-SIZE: 9pt">bcc</FONT> </DIV></TD> <TD width="63%" bgColor=#e1e1e1><IMG height=1 alt="" src="/icons/ecblank.gif" width=1 border=0><BR></TD></TR> <TR vAlign=top> <TD width="1%" bgColor=#e1e1e1><IMG height=1 alt="" src="/icons/ecblank.gif" width=102 border=0><BR> <DIV align=right><FONT style="FONT-SIZE: 9pt">Subject</FONT> </DIV></TD> <TD width="63%" bgColor=#e1e1e1><IMG height=1 alt="" src="/icons/ecblank.gif" width=1 border=0><BR><FONT style="FONT-SIZE: 9pt">Re: [Quickfix-developers] Extracting sequence No of fix message in the application</FONT></TD></TR> <TR vAlign=top> <TD width=0% bgColor=#e1e1e1><IMG height=1 alt="" src="/icons/ecblank.gif" width=1 border=0></TD> <TD width="63%" bgColor=#e1e1e1><IMG height=1 alt="" src="/icons/ecblank.gif" width=1 border=0><BR><FONT size=-1></FONT></TD></TR></TABLE><BR><TT>QuickFIX Documentation: <A href="http://www.quickfixengine.org/quickfix/doc/html/index.html">http://www.quickfixengine.org/quickfix/doc/html/index.html</A><BR></TT><TT>QuickFIX Support: <A href="http://www.quickfixengine.org/services.html">http://www.quickfixengine.org/services.html</A><BR></TT><BR><TT>Are you asking how to read field 34 (MsgSeqNum) from the header of a message?<BR></TT><BR><BR><BR><TT>On Wed, Jul 8, 2009 at 9:16 AM, Aniruddha N<ani...@tc...> wrote:<BR></TT><TT>> QuickFIX Documentation: <A href="http://www.quickfixengine.org/quickfix/doc/html/index.html">http://www.quickfixengine.org/quickfix/doc/html/index.html</A><BR></TT><TT>> QuickFIX Support: <A href="http://www.quickfixengine.org/services.html">http://www.quickfixengine.org/services.html</A><BR></TT><TT>><BR></TT><TT>><BR></TT><TT>> Hi guys,<BR></TT><TT>><BR></TT><TT>> I intend to read SequenceId of a fix message, say Execution report, for a<BR></TT><TT>> Single Order Request sent earlier.<BR></TT><TT>><BR></TT><TT>> This would be needed to map request for each response recieved at initiator<BR></TT><TT>> in my application.My application requires to send multiple order requests<BR></TT><TT>> to server and process each response as it arrives(out of order) according<BR></TT><TT>> to the sequence Id of the order request sent.<BR></TT><TT>><BR></TT><TT>> please help if anyone has an idea.<BR></TT><TT>><BR></TT><TT>> Cheers,<BR></TT><TT>> Aniruddha Anilkumar Navur<BR></TT><TT>> Tata Consultancy Services<BR></TT><TT>> Mailto: ani...@tc...<BR></TT><TT>> Website: <A href="http://www.tcs.com">http://www.tcs.com</A><BR></TT><TT>> ____________________________________________<BR></TT><TT>> Experience certainty. IT Services<BR></TT><TT>> Business Solutions<BR></TT><TT>> Outsourcing<BR></TT><TT>> ____________________________________________<BR></TT><TT>><BR></TT><TT>> =====-----=====-----=====<BR></TT><TT>> Notice: The information contained in this e-mail<BR></TT><TT>> message and/or attachments to it may contain<BR></TT><TT>> confidential or privileged information. If you are<BR></TT><TT>> not the intended recipient, any dissemination, use,<BR></TT><TT>> review, distribution, printing or copying of the<BR></TT><TT>> information contained in this e-mail message<BR></TT><TT>> and/or attachments to it are strictly prohibited. If<BR></TT><TT>> you have received this communication in error,<BR></TT><TT>> please notify us by reply e-mail or telephone and<BR></TT><TT>> immediately and permanently delete the message<BR></TT><TT>> and any attachments. Thank you<BR></TT><TT>><BR></TT><TT>><BR></TT><TT>><BR></TT><TT>><BR></TT><TT>> ------------------------------------------------------------------------------<BR></TT><TT>> Enter the BlackBerry Developer Challenge<BR></TT><TT>> This is your chance to win up to $100,000 in prizes! For a limited time,<BR></TT><TT>> vendors submitting new applications to BlackBerry App World(TM) will have<BR></TT><TT>> the opportunity to enter the BlackBerry Developer Challenge. See full prize<BR></TT><TT>> details at: <A href="http://p.sf.net/sfu/Challenge">http://p.sf.net/sfu/Challenge</A><BR></TT><TT>> _______________________________________________<BR></TT><TT>> Quickfix-developers mailing list<BR></TT><TT>> Qui...@li...<BR></TT><TT>> <A href="https://lists.sourceforge.net/lists/listinfo/quickfix-developers">https://lists.sourceforge.net/lists/listinfo/quickfix-developers</A><BR></TT><TT>><BR></TT><BR><TT>------------------------------------------------------------------------------<BR></TT><TT>Enter the BlackBerry Developer Challenge<BR></TT><TT>This is your chance to win up to $100,000 in prizes! For a limited time,<BR></TT><TT>vendors submitting new applications to BlackBerry App World(TM) will have<BR></TT><TT>the opportunity to enter the BlackBerry Developer Challenge. See full prize<BR></TT><TT>details at: <A href="http://p.sf.net/sfu/Challenge">http://p.sf.net/sfu/Challenge</A><BR></TT><TT>_______________________________________________<BR></TT><TT>Quickfix-developers mailing list<BR></TT><TT>Qui...@li...<BR></TT><TT><A href="https://lists.sourceforge.net/lists/listinfo/quickfix-developers">https://lists.sourceforge.net/lists/listinfo/quickfix-developers</A></TT><BR><BR><FONT style="FONT-SIZE: 1pt" color=#ffffff>ForwardSourceID:NT00003196 </FONT><pre>=====-----=====-----===== Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you </pre> |
From: Grant B. <gbi...@co...> - 2009-07-08 18:33:18
|
It should be something like: FIX::Message msg = <your message>; std::string seqNo = msg.getHeader().getField(34); // 34 = MsgSeqNum /* you probably want to convert seqNo to int */ Instead of "34", I believe you can use something like FIX::FIELD::MsgSeqNum, which would be a better practice. Generally, though, there should be a better field to use than MsgSeqNum (or anything in the header) for your purpose. Have you looked at using the ClOrdID instead? On Wed, Jul 8, 2009 at 11:23 AM, Aniruddha N<ani...@tc...> wrote: > Yes > > Aniruddha Anilkumar Navur > Tata Consultancy Services > Mailto: ani...@tc... > Website: http://www.tcs.com > ____________________________________________ > Experience certainty. IT Services > Business Solutions > Outsourcing > ____________________________________________ > Grant Birchmeier <gbi...@co...> > > 07/08/2009 09:56 EST > > To > > cc > qui...@li..., vai...@tc... > bcc > > Subject > Re: [Quickfix-developers] Extracting sequence No of fix message in the > application > > QuickFIX Documentation: > http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX Support: http://www.quickfixengine.org/services.html > > Are you asking how to read field 34 (MsgSeqNum) from the header of a > message? > > > > On Wed, Jul 8, 2009 at 9:16 AM, Aniruddha N<ani...@tc...> wrote: >> QuickFIX Documentation: >> http://www.quickfixengine.org/quickfix/doc/html/index.html >> QuickFIX Support: http://www.quickfixengine.org/services.html >> >> >> Hi guys, >> >> I intend to read SequenceId of a fix message, say Execution report, for a >> Single Order Request sent earlier. >> >> This would be needed to map request for each response recieved at >> initiator >> in my application.My application requires to send multiple order requests >> to server and process each response as it arrives(out of order) according >> to the sequence Id of the order request sent. >> >> please help if anyone has an idea. >> >> Cheers, >> Aniruddha Anilkumar Navur >> Tata Consultancy Services >> Mailto: ani...@tc... >> Website: http://www.tcs.com >> ____________________________________________ >> Experience certainty. IT Services >> Business Solutions >> Outsourcing >> ____________________________________________ >> >> =====-----=====-----===== >> Notice: The information contained in this e-mail >> message and/or attachments to it may contain >> confidential or privileged information. If you are >> not the intended recipient, any dissemination, use, >> review, distribution, printing or copying of the >> information contained in this e-mail message >> and/or attachments to it are strictly prohibited. If >> you have received this communication in error, >> please notify us by reply e-mail or telephone and >> immediately and permanently delete the message >> and any attachments. Thank you >> >> >> >> >> >> ------------------------------------------------------------------------------ >> Enter the BlackBerry Developer Challenge >> This is your chance to win up to $100,000 in prizes! For a limited time, >> vendors submitting new applications to BlackBerry App World(TM) will have >> the opportunity to enter the BlackBerry Developer Challenge. See full >> prize >> details at: http://p.sf.net/sfu/Challenge >> _______________________________________________ >> Quickfix-developers mailing list >> Qui...@li... >> https://lists.sourceforge.net/lists/listinfo/quickfix-developers >> > > ------------------------------------------------------------------------------ > Enter the BlackBerry Developer Challenge > This is your chance to win up to $100,000 in prizes! For a limited time, > vendors submitting new applications to BlackBerry App World(TM) will have > the opportunity to enter the BlackBerry Developer Challenge. See full prize > details at: http://p.sf.net/sfu/Challenge > _______________________________________________ > Quickfix-developers mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-developers > > ForwardSourceID:NT00003196 > > =====-----=====-----===== > Notice: The information contained in this e-mail > message and/or attachments to it may contain > confidential or privileged information. If you are > not the intended recipient, any dissemination, use, > review, distribution, printing or copying of the > information contained in this e-mail message > and/or attachments to it are strictly prohibited. If > you have received this communication in error, > please notify us by reply e-mail or telephone and > immediately and permanently delete the message > and any attachments. Thank you > > > |