Re: [Quickfix-developers] Extracting sequence No of fix message in the application
Brought to you by:
orenmnero
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 > > > |