{{Quickfixn}} Please help in handling QuoteCancel message
Grant Birchmeier
gbirchmeier at connamara.com
Thu Dec 12 08:10:03 PST 2013
Yes, you are making a simple mistake.
Visit FIXimate and look at the QuoteCancel message structure. You'll see
that Symbol isn't quite where you think it is.
http://www.fixtradingcommunity.org/FIXimate/FIXimate3.0/
Do you see the problem now? If you still need help, let us know.
-Grant
On Wed, Dec 11, 2013 at 5:18 AM, Nirjhar Jain <nirjhar.jain at commdel.net>wrote:
> Hi All,
>
>
>
> I am handling Quote Cancel with UNSUBSCRIBE message using below code and
> trying to send the quote request message to subscribe again. But while
> reading the symbol from message received, the symbol reading code(Bold
> code) is generating error that field not found for tag 55.
>
>
>
> public void OnMessage(QuickFix.FIX44.QuoteCancel m, SessionID s)
>
> {
>
> string sym, quoteID;
>
> string msg = "Quote Request cancelled";
>
> log.Info(msg);
>
> if (m.GetField(QuickFix.Fields.Tags.QuoteID).Contains(
> "UNSUBSCRIBE"))
>
> {
>
> *sym = m.GetField(QuickFix.Fields.**Tags*
> *.Symbol).ToString();*
>
> quoteID = sym + "quoteID";
>
> QueryQuoteRequest(sym, quoteID, 100000);
>
> }
>
> }
>
>
>
> While the message I am receiving from the Citi Server is:
>
>
>
> 8=FIX.4.4|9=124|35=Z
> |34=157|49=CITIFX-UAT|52=20131211-09:02:18.790|56=KRISCAP-QUOTE|117=UNSUBSCRIBE|131=USDJPYquoteID|298=1|295=1|55=USDJPY|10=111
>
>
>
> Am I using the wrong way to read the Symbol(tag 55) from the message?
> Please help and correct me.
>
>
>
>
>
> Thanks & Regards,
>
> *Nirjhar Jain*
>
> Software Engineer
>
>
> *COMMDEL*
>
> Commdel Consulting Services P Ltd,
>
> H-134, Sector-63, Noida - U.P. (India)
>
>
>
> www.commdel.net
>
> *A n **I S O 9 0 0 1 : 2 0 0 8** C e r t i f i e d C o m p
> a n y*
>
> *Payment* *Enterprise* *Mobility*
> *Internet*
>
>
>
> _______________________________________________
> Quickfixn mailing list
> Quickfixn at lists.quickfixn.com
> http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com
>
>
--
Grant Birchmeier
*Connamara Systems, LLC*
*Made-To-Measure Trading Solutions.*
Exactly what you need. No more. No less.
http://connamara.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quickfixn.com/pipermail/quickfixn-quickfixn.com/attachments/20131212/64f69b5b/attachment-0002.htm>
More information about the Quickfixn
mailing list