<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>Dude...</div><div><br></div><div>You said you solved this problem days ago...</div><div><br></div><div><br><br>Sent from my iPhone</div><div><br>On Dec 11, 2013, at 6:18, "Nirjhar Jain" <<a href="mailto:nirjhar.jain@commdel.net">nirjhar.jain@commdel.net</a>> wrote:<br><br></div><blockquote type="cite"><div><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"><meta name="Generator" content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
        {font-family:"Century Gothic";
        panose-1:2 11 5 2 2 2 2 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--><div class="WordSection1"><p class="MsoNormal">Hi All,<o:p></o:p></p><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal">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.<o:p></o:p></p><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">public</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">void</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> OnMessage(QuickFix.FIX44.</span><span style="font-size:9.5pt;font-family:Consolas;color:#2B91AF;background:white;mso-highlight:white">QuoteCancel</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> m, </span><span style="font-size:9.5pt;font-family:Consolas;color:#2B91AF;background:white;mso-highlight:white">SessionID</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> s)<o:p></o:p></span></p><p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">        {<o:p></o:p></span></p><p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">            </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">string</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> sym, quoteID;<o:p></o:p></span></p><p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">            </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">string</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> msg = </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Quote Request cancelled"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p><p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">            log.Info(msg);<o:p></o:p></span></p><p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">            </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">if</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> (m.GetField(QuickFix.Fields.</span><span style="font-size:9.5pt;font-family:Consolas;color:#2B91AF;background:white;mso-highlight:white">Tags</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">.QuoteID).Contains(</span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"UNSUBSCRIBE"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">))<o:p></o:p></span></p><p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">            {<o:p></o:p></span></p><p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">                <b>sym = m.GetField(QuickFix.Fields.</b></span><b><span style="font-size:9.5pt;font-family:Consolas;color:#2B91AF;background:white;mso-highlight:white">Tags</span></b><b><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">.Symbol).ToString();<o:p></o:p></span></b></p><p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">                quoteID = sym + </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"quoteID"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p><p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">                QueryQuoteRequest(sym, quoteID, 100000);<o:p></o:p></span></p><p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">            }<o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">        }</span><o:p></o:p></p><p class="MsoNormal"><span lang="EN-IN" style="font-size:9.0pt;font-family:"Century Gothic","sans-serif";color:#1F497D"><o:p> </o:p></span></p><p class="MsoNormal">While the message I am receiving from the Citi Server is:<o:p></o:p></p><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal">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<o:p></o:p></p><p class="MsoNormal"><span lang="EN-IN" style="font-size:9.0pt;font-family:"Century Gothic","sans-serif";color:#1F497D"><o:p> </o:p></span></p><p class="MsoNormal">Am I using the wrong way to read the Symbol(tag 55) from the message? Please help and correct me.<o:p></o:p></p><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal"><span lang="EN-IN" style="font-size:9.0pt;font-family:"Century Gothic","sans-serif";color:#1F497D"><o:p> </o:p></span></p><p class="MsoNormal"><span lang="EN-IN" style="font-size:9.0pt;font-family:"Century Gothic","sans-serif";color:#1F497D">Thanks & Regards,</span><b><span lang="EN-IN" style="font-family:"Century Gothic","sans-serif";color:#1F497D"><o:p></o:p></span></b></p><p class="MsoNormal"><b><span lang="EN-IN" style="font-family:"Century Gothic","sans-serif";color:#0F243E">Nirjhar Jain</span></b><span lang="EN-IN" style="font-size:9.0pt;font-family:"Century Gothic","sans-serif";color:#0F243E"><o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-IN" style="font-size:8.0pt;font-family:"Century Gothic","sans-serif";color:#1F497D">Software Engineer<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-IN" style="font-size:9.0pt;font-family:"Century Gothic","sans-serif";color:black"><br></span><b><span style="font-size:10.0pt;font-family:"Century Gothic","sans-serif";color:#006699">COMMDEL</span></b><span lang="EN-IN" style="font-size:10.0pt;font-family:"Century Gothic","sans-serif";color:black"><o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Century Gothic","sans-serif";color:#1F497D">Commdel Consulting Services P Ltd, <o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-IN" style="font-size:8.0pt;font-family:"Century Gothic","sans-serif";color:black">H-134, Sector-63, Noida - U.P. (India)</span><span lang="EN-IN" style="font-size:9.0pt;font-family:"Century Gothic","sans-serif";color:#1F497D">   <o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-IN" style="font-size:9.0pt;font-family:"Century Gothic","sans-serif";color:black">    </span><span lang="EN-IN" style="font-size:9.0pt;font-family:"Century Gothic","sans-serif";color:#1F497D">           </span><span lang="EN-IN" style="font-size:9.0pt;font-family:"Century Gothic","sans-serif";color:black"><o:p></o:p></span></p><p class="MsoNormal"><a href="http://www.commdel.net/"><span lang="EN-IN" style="font-size:9.0pt;font-family:"Century Gothic","sans-serif";color:blue">www.commdel.net</span></a><span lang="EN-IN" style="font-size:9.0pt;font-family:"Century Gothic","sans-serif";color:#0070C0">   <o:p></o:p></span></p><p class="MsoNormal"><b><span lang="EN-IN" style="font-size:8.0pt;font-family:"Century Gothic","sans-serif";color:black">A n   </span></b><b><span lang="EN-IN" style="font-size:8.0pt;font-family:"Century Gothic","sans-serif";color:#006699">I S O     9 0 0 1 : 2 0 0 8</span></b><b><span lang="EN-IN" style="font-size:8.0pt;font-family:"Century Gothic","sans-serif";color:black">      C e r t i f i e d     C o m p a n y<o:p></o:p></span></b></p><p class="MsoNormal"><b><span lang="EN-IN" style="font-size:8.0pt;font-family:"Century Gothic","sans-serif";color:#1F497D">Payment</span></b><b><span lang="EN-IN" style="font-size:8.0pt;font-family:"Century Gothic","sans-serif";color:black">           </span></b><b><span lang="EN-IN" style="font-size:8.0pt;font-family:"Century Gothic","sans-serif";color:#0070C0">Enterprise</span></b><b><span lang="EN-IN" style="font-size:8.0pt;font-family:"Century Gothic","sans-serif";color:#006699">            </span></b><b><span lang="EN-IN" style="font-size:8.0pt;font-family:"Century Gothic","sans-serif";color:#FFC000">Mobility</span></b><b><span lang="EN-IN" style="font-size:8.0pt;font-family:"Century Gothic","sans-serif";color:#006699">            </span></b><b><span lang="EN-IN" style="font-size:8.0pt;font-family:"Century Gothic","sans-serif";color:#A6A6A6">Internet</span></b><b><span lang="EN-IN" style="font-size:8.0pt;font-family:"Century Gothic","sans-serif";color:#006699"> </span></b><span lang="EN-IN" style="font-size:9.0pt;font-family:"Century Gothic","sans-serif";color:black"> </span><o:p></o:p></p><p class="MsoNormal"><o:p> </o:p></p></div></div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>Quickfixn mailing list</span><br><span><a href="mailto:Quickfixn@lists.quickfixn.com">Quickfixn@lists.quickfixn.com</a></span><br><span><a href="http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com">http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com</a></span><br></div></blockquote></body></html>