<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div><span></span></div><div><meta http-equiv="content-type" content="text/html; charset=utf-8"><div>I've handled this with 2 separate applications. Looking forward to hearing about this.<br><br>Sent from my iPhone</div><div><br>On Nov 13, 2013, at 7:23, "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=utf-8"><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:"Century Gothic";
        panose-1:2 11 5 2 2 2 2 2 2 4;}
@font-face
        {font-family:"\.HelveticaNeueUI";
        panose-1:0 0 0 0 0 0 0 0 0 0;}
/* 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;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@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"><span style="color:#1F497D">But, they have not mentioned anything about the 2 separate logins for Price quote and trading. For 2 separate logins, SenderCompId will be different for both cases.<o:p></o:p></span></p><p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p><div><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"><span style="color:#1F497D"><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><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><span style="color:#1F497D"><o:p></o:p></span></p></div><p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p><div><div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in"><p class="MsoNormal"><b>From:</b> <a href="mailto:quickfixn-bounces@lists.quickfixn.com">quickfixn-bounces@lists.quickfixn.com</a> [<a href="mailto:quickfixn-bounces@lists.quickfixn.com">mailto:quickfixn-bounces@lists.quickfixn.com</a>] <b>On Behalf Of </b>James Riehl<br><b>Sent:</b> Wednesday, November 13, 2013 5:28 PM<br><b>To:</b> Mailing list for QuickFIX/n<br><b>Cc:</b> <<a href="mailto:quickfixn@lists.quickfixn.com">quickfixn@lists.quickfixn.com</a>><br><b>Subject:</b> Re: {{Quickfixn}} Please Help in maintaining 2 sessions<o:p></o:p></p></div></div><p class="MsoNormal"><o:p> </o:p></p><div><p class="MsoNormal">In your implementation of the application class, simply define the OnMessage handler for each type of message you expect to get. There is an example here <span style="font-size:11.5pt;font-family:".HelveticaNeueUI","serif""><a href="http://www.quickfixn.org/tutorial/creating-an-application">http://www.quickfixn.org/tutorial/creating-an-application</a> and here</span><span style="font-size:12.0pt"><o:p></o:p></span></p></div><div><p class="MsoNormal"><span style="font-size:11.5pt;font-family:".HelveticaNeueUI","serif""><a href="http://www.quickfixn.org/tutorial/receiving-messages">http://www.quickfixn.org/tutorial/receiving-messages</a> read all the docs here they are very useful.</span><o:p></o:p></p></div><div><p class="MsoNormal"><span style="font-size:11.5pt;font-family:".HelveticaNeueUI","serif""><br><br></span><o:p></o:p></p></div><div><p class="MsoNormal"><span style="font-size:11.5pt;font-family:".HelveticaNeueUI","serif"">Hope this helps<br></span><br>Sent from my iPhone<o:p></o:p></p></div><div><p class="MsoNormal" style="margin-bottom:12.0pt"><br>On Nov 13, 2013, at 6:48, "Nirjhar Jain" <<a href="mailto:nirjhar.jain@commdel.net">nirjhar.jain@commdel.net</a>> wrote:<o:p></o:p></p></div><blockquote style="margin-top:5.0pt;margin-bottom:5.0pt;-webkit-text-size-adjust: auto"><div><p class="MsoNormal">Hi All,<o:p></o:p></p><p class="MsoNormal"> <o:p></o:p></p><p class="MsoNormal">Do Quickfixn supports 2 sessions simultaneously, i.e. one for Quote(Quote request, MarketData Request) and other for trading(order & execution report)?<o:p></o:p></p><p class="MsoNormal"> <o:p></o:p></p><p class="MsoNormal">If yes, then How to implement it.<o:p></o:p></p><p class="MsoNormal"> <o:p></o:p></p><p class="MsoNormal">Please help<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"> </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">Thanks & Regards,</span><o:p></o:p></p><p class="MsoNormal"><b><span lang="EN-IN" style="font-family:"Century Gothic","sans-serif";color:#0F243E">Nirjhar Jain</span></b><o:p></o:p></p><p class="MsoNormal"><span lang="EN-IN" style="font-size:8.0pt;font-family:"Century Gothic","sans-serif";color:#1F497D">Software Engineer</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:black"><br></span><b><span style="font-size:10.0pt;font-family:"Century Gothic","sans-serif";color:#006699">COMMDEL</span></b><o:p></o:p></p><p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Century Gothic","sans-serif";color:#1F497D">Commdel Consulting Services P Ltd, </span><o:p></o:p></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">   </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:black">    </span><span lang="EN-IN" style="font-size:9.0pt;font-family:"Century Gothic","sans-serif";color:#1F497D">           </span><o:p></o:p></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">   </span><o:p></o:p></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</span></b><o:p></o:p></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></blockquote><blockquote style="margin-top:5.0pt;margin-bottom:5.0pt;-webkit-text-size-adjust: auto"><div><p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif"">_______________________________________________<br>Quickfixn mailing list<br><a href="mailto:Quickfixn@lists.quickfixn.com">Quickfixn@lists.quickfixn.com</a><br><a href="http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com">http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com</a><o:p></o:p></span></p></div></blockquote></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></div></body></html>