<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=iso-8859-1"><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:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle20
        {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]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>I have to use Tag 40=D i.e. Order Type = previously quoted and</span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> TimeInForce with FOK (fill or kll, 59=4). <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>How to do with these specifications?</span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";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-size:11.0pt;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-size:11.0pt;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"'>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><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p></o:p></span></p></div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";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><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>From:</span></b><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'> quickfixn-bounces@lists.quickfixn.com [mailto:quickfixn-bounces@lists.quickfixn.com] <b>On Behalf Of </b>Øyvind Sævareid Ellefsen<br><b>Sent:</b> Wednesday, November 13, 2013 7:11 PM<br><b>To:</b> Mailing list for QuickFIX/n<br><b>Subject:</b> Re: {{Quickfixn}} Please Help in maintaining 2 sessions<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>I am not familiar with CITI, but you should not need to have the quote to place an order.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>If you use Market order (tag 40=1), and TimeInForce with FOK (fill or kll, 59=4) the order will be executed with the current quote.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><div><p class=MsoNormal><span lang=NO-BOK style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Mvh / Brgds<o:p></o:p></span></p><p class=MsoNormal><span lang=NO-BOK style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Oeyvind Ellefsen<o:p></o:p></span></p></div><p class=MsoNormal><span lang=NO-BOK style='font-size:11.0pt;font-family:"Calibri","sans-serif";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><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>From:</span></b><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'> </span><a href="mailto:quickfixn-bounces@lists.quickfixn.com"><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>quickfixn-bounces@lists.quickfixn.com</span></a><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'> [</span><a href="mailto:quickfixn-bounces@lists.quickfixn.com"><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>mailto:quickfixn-bounces@lists.quickfixn.com</span></a><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>] <b>On Behalf Of </b>Nirjhar Jain<br><b>Sent:</b> 13. november 2013 14:38<br><b>To:</b> 'Mailing list for QuickFIX/n'<br><b>Subject:</b> Re: {{Quickfixn}} Please Help in maintaining 2 sessions<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Thanks for the link. It helped in establishing 2 connections simultaneously.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>But the issue is I have to place the order from the quote received from the citi bank server. <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>While placing order, the citi server is returning un-supported message type error as it is receiving my order request on the quote session instead of trade session.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Please help.<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-size:11.0pt;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-size:11.0pt;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"'>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><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p></o:p></span></p></div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";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><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>From:</span></b><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'> </span><a href="mailto:quickfixn-bounces@lists.quickfixn.com"><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>quickfixn-bounces@lists.quickfixn.com</span></a><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'> [</span><a href="mailto:quickfixn-bounces@lists.quickfixn.com"><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>mailto:quickfixn-bounces@lists.quickfixn.com</span></a><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>] <b>On Behalf Of </b>Øyvind Sævareid Ellefsen<br><b>Sent:</b> Wednesday, November 13, 2013 6:34 PM<br><b>To:</b> Mailing list for QuickFIX/n<br><b>Subject:</b> Re: {{Quickfixn}} Please Help in maintaining 2 sessions<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>This post may help you around as well;</span><span lang=NO-BOK><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><span lang=NO-BOK><o:p></o:p></span></p><p class=MsoNormal><a href="http://dotnetdlr.com/2012/04/quickfix-connect-multiple-fix-sessions-with-fix-server/"><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>http://dotnetdlr.com/2012/04/quickfix-connect-multiple-fix-sessions-with-fix-server/</span></a><span lang=NO-BOK><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><span lang=NO-BOK><o:p></o:p></span></p><p class=MsoNormal><span lang=NO-BOK style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Mvh / Brgds</span><span lang=NO-BOK><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Oeyvind Ellefsen</span><span lang=NO-BOK><o:p></o:p></span></p><p class=MsoNormal><span lang=NO-BOK style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><span lang=NO-BOK><o:p></o:p></span></p><p class=MsoNormal><b><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>From:</span></b><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'> </span><a href="mailto:quickfixn-bounces@lists.quickfixn.com"><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>quickfixn-bounces@lists.quickfixn.com</span></a><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'> [</span><a href="mailto:quickfixn-bounces@lists.quickfixn.com"><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>mailto:quickfixn-bounces@lists.quickfixn.com</span></a><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>] <b>On Behalf Of </b>Fernando Furukawa<br><b>Sent:</b> 13. november 2013 13:44<br><b>To:</b> Mailing list for QuickFIX/n<br><b>Subject:</b> Re: {{Quickfixn}} Please Help in maintaining 2 sessions</span><span lang=NO-BOK><o:p></o:p></span></p><p class=MsoNormal> <span lang=NO-BOK><o:p></o:p></span></p><div><div><p class=MsoNormal><span lang=NO-BOK>First of all, sorry my poor english<o:p></o:p></span></p></div><p class=MsoNormal><span lang=NO-BOK>To handle more than one session, you can set the Default configuration in a QuickFix.Dictionary object and set then to SessionSettings object. And then, for each session you want to handle, set session configuration and add to same SessionSEttings objecct. For example:<o:p></o:p></span></p><div><p class=MsoNormal><span lang=NO-BOK> <o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=NO-BOK>QuickFix.SessionSettings setting = new QuickFix.SessionSettings();<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=NO-BOK>QuickFix.Dictionary main = new QuickFix.Dictionary();<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=NO-BOK>main.SetString("HeartBtInt", 30);<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=NO-BOK>.<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=NO-BOK>.<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=NO-BOK>.<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=NO-BOK>setting.Set(main);<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=NO-BOK> <o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=NO-BOK> <o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=NO-BOK>And then for each seach you have, you can create a session dictionary and session id and add to main setting object...<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=NO-BOK> <o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=NO-BOK>for (int i=0; i<5;i++)<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=NO-BOK>{<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=NO-BOK>QuickFix.Dictionary ssDic = new QuickFix.Dictionary();<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=NO-BOK>ssDic.SetString("DataDictionary", "c:\temp\xx.xml");<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=NO-BOK>.<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=NO-BOK>.<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=NO-BOK>.<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=NO-BOK>SessionID ss = new SessionID(begin, target, sender);<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=NO-BOK>setting.Set(ss, ssDic);<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=NO-BOK>}<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=NO-BOK> <o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=NO-BOK>PS: It's only an example how to implement, this code won't compile correctly.<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=NO-BOK> <o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=NO-BOK>Fernando Furukawa<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=NO-BOK> <o:p></o:p></span></p></div></div><div><p class=MsoNormal style='margin-bottom:12.0pt'><span lang=NO-BOK> <o:p></o:p></span></p><div><p class=MsoNormal><span lang=NO-BOK>On Wed, Nov 13, 2013 at 10:28 AM, James Riehl <</span><a href="mailto:pete.riehl@gmail.com" target="_blank"><span lang=NO-BOK>pete.riehl@gmail.com</span></a><span lang=NO-BOK>> wrote:<o:p></o:p></span></p><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt'><div><div><div><p class=MsoNormal><span lang=NO-BOK>I've handled this with 2 separate applications. Looking forward to hearing about this.<br><br>Sent from my iPhone<o:p></o:p></span></p></div><div><div><div><p class=MsoNormal style='margin-bottom:12.0pt'><span lang=NO-BOK><br>On Nov 13, 2013, at 7:23, "Nirjhar Jain" <</span><a href="mailto:nirjhar.jain@commdel.net" target="_blank"><span lang=NO-BOK>nirjhar.jain@commdel.net</span></a><span lang=NO-BOK>> wrote:<o:p></o:p></span></p></div><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=NO-BOK 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.</span><span lang=NO-BOK><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=NO-BOK style='color:#1F497D'> </span><span lang=NO-BOK><o:p></o:p></span></p><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-IN style='font-size:9.0pt;font-family:"Century Gothic","sans-serif";color:#1F497D'> </span><span lang=NO-BOK><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-IN style='font-size:9.0pt;font-family:"Century Gothic","sans-serif";color:#1F497D'>Thanks & Regards,</span><span lang=NO-BOK><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b><span lang=EN-IN style='font-family:"Century Gothic","sans-serif";color:#0F243E'>Nirjhar Jain</span></b><span lang=NO-BOK><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-IN style='font-size:8.0pt;font-family:"Century Gothic","sans-serif";color:#1F497D'>Software Engineer</span><span lang=NO-BOK><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-IN style='font-size:9.0pt;font-family:"Century Gothic","sans-serif"'><br></span><b><span lang=NO-BOK style='font-size:10.0pt;font-family:"Century Gothic","sans-serif";color:#006699'>COMMDEL</span></b><span lang=NO-BOK><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=NO-BOK style='font-size:8.0pt;font-family:"Century Gothic","sans-serif";color:#1F497D'>Commdel Consulting Services P Ltd, </span><span lang=NO-BOK><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-IN style='font-size:8.0pt;font-family:"Century Gothic","sans-serif"'>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><span lang=NO-BOK><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-IN style='font-size:9.0pt;font-family:"Century Gothic","sans-serif"'>    <span style='color:#1F497D'>           </span></span><span lang=NO-BOK><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><a href="http://www.commdel.net/" target="_blank"><span lang=EN-IN style='font-size:9.0pt;font-family:"Century Gothic","sans-serif"'>www.commdel.net</span></a><span lang=EN-IN style='font-size:9.0pt;font-family:"Century Gothic","sans-serif";color:#0070C0'>   </span><span lang=NO-BOK><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b><span lang=EN-IN style='font-size:8.0pt;font-family:"Century Gothic","sans-serif"'>A n   <span style='color:#006699'>I S O     9 0 0 1 : 2 0 0 8</span>      C e r t i f i e d     C o m p a n y</span></b><span lang=NO-BOK><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><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"'>           <span style='color:#0070C0'>Enterprise</span><span style='color:#006699'>            </span><span style='color:#FFC000'>Mobility</span><span style='color:#006699'>            </span><span style='color:#A6A6A6'>Internet</span><span style='color:#006699'> </span></span></b><span lang=EN-IN style='font-size:9.0pt;font-family:"Century Gothic","sans-serif"'> </span><span lang=NO-BOK><o:p></o:p></span></p></div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=NO-BOK style='color:#1F497D'> </span><span lang=NO-BOK><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 style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b><span lang=NO-BOK>From:</span></b><span lang=NO-BOK> </span><a href="mailto:quickfixn-bounces@lists.quickfixn.com" target="_blank"><span lang=NO-BOK>quickfixn-bounces@lists.quickfixn.com</span></a><span lang=NO-BOK> [</span><a href="mailto:quickfixn-bounces@lists.quickfixn.com" target="_blank"><span lang=NO-BOK>mailto:quickfixn-bounces@lists.quickfixn.com</span></a><span lang=NO-BOK>] <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> <</span><a href="mailto:quickfixn@lists.quickfixn.com" target="_blank"><span lang=NO-BOK>quickfixn@lists.quickfixn.com</span></a><span lang=NO-BOK>><br><b>Subject:</b> Re: {{Quickfixn}} Please Help in maintaining 2 sessions<o:p></o:p></span></p></div></div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=NO-BOK> <o:p></o:p></span></p><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=NO-BOK>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><a href="http://www.quickfixn.org/tutorial/creating-an-application" target="_blank"><span lang=NO-BOK style='font-size:11.5pt;font-family:".HelveticaNeueUI","serif"'>http://www.quickfixn.org/tutorial/creating-an-application</span></a><span style='font-size:11.5pt;font-family:".HelveticaNeueUI","serif"'> <span lang=NO-BOK>and here</span></span><span lang=NO-BOK><o:p></o:p></span></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><a href="http://www.quickfixn.org/tutorial/receiving-messages" target="_blank"><span lang=NO-BOK style='font-size:11.5pt;font-family:".HelveticaNeueUI","serif"'>http://www.quickfixn.org/tutorial/receiving-messages</span></a><span style='font-size:11.5pt;font-family:".HelveticaNeueUI","serif"'> <span lang=NO-BOK>read all the docs here they are very useful.</span></span><span lang=NO-BOK><o:p></o:p></span></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;margin-bottom:12.0pt'><span lang=NO-BOK> <o:p></o:p></span></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=NO-BOK style='font-size:11.5pt;font-family:".HelveticaNeueUI","serif"'>Hope this helps<br></span><span lang=NO-BOK><br>Sent from my iPhone<o:p></o:p></span></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;margin-bottom:12.0pt'><span lang=NO-BOK><br>On Nov 13, 2013, at 6:48, "Nirjhar Jain" <</span><a href="mailto:nirjhar.jain@commdel.net" target="_blank"><span lang=NO-BOK>nirjhar.jain@commdel.net</span></a><span lang=NO-BOK>> wrote:<o:p></o:p></span></p></div><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=NO-BOK>Hi All,<o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=NO-BOK> <o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=NO-BOK>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></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=NO-BOK> <o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=NO-BOK>If yes, then How to implement it.<o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=NO-BOK> <o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=NO-BOK>Please help<o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=NO-BOK> <o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-IN style='font-size:9.0pt;font-family:"Century Gothic","sans-serif";color:#1F497D'> </span><span lang=NO-BOK><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-IN style='font-size:9.0pt;font-family:"Century Gothic","sans-serif";color:#1F497D'>Thanks & Regards,</span><span lang=NO-BOK><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b><span lang=EN-IN style='font-family:"Century Gothic","sans-serif";color:#0F243E'>Nirjhar Jain</span></b><span lang=NO-BOK><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-IN style='font-size:8.0pt;font-family:"Century Gothic","sans-serif";color:#1F497D'>Software Engineer</span><span lang=NO-BOK><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-IN style='font-size:9.0pt;font-family:"Century Gothic","sans-serif"'><br></span><b><span lang=NO-BOK style='font-size:10.0pt;font-family:"Century Gothic","sans-serif";color:#006699'>COMMDEL</span></b><span lang=NO-BOK><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=NO-BOK style='font-size:8.0pt;font-family:"Century Gothic","sans-serif";color:#1F497D'>Commdel Consulting Services P Ltd, </span><span lang=NO-BOK><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-IN style='font-size:8.0pt;font-family:"Century Gothic","sans-serif"'>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><span lang=NO-BOK><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-IN style='font-size:9.0pt;font-family:"Century Gothic","sans-serif"'>    <span style='color:#1F497D'>           </span></span><span lang=NO-BOK><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><a href="http://www.commdel.net/" target="_blank"><span lang=EN-IN style='font-size:9.0pt;font-family:"Century Gothic","sans-serif"'>www.commdel.net</span></a><span lang=EN-IN style='font-size:9.0pt;font-family:"Century Gothic","sans-serif";color:#0070C0'>   </span><span lang=NO-BOK><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b><span lang=EN-IN style='font-size:8.0pt;font-family:"Century Gothic","sans-serif"'>A n   <span style='color:#006699'>I S O     9 0 0 1 : 2 0 0 8</span>      C e r t i f i e d     C o m p a n y</span></b><span lang=NO-BOK><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><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"'>           <span style='color:#0070C0'>Enterprise</span><span style='color:#006699'>            </span><span style='color:#FFC000'>Mobility</span><span style='color:#006699'>            </span><span style='color:#A6A6A6'>Internet</span><span style='color:#006699'> </span></span></b><span lang=EN-IN style='font-size:9.0pt;font-family:"Century Gothic","sans-serif"'> </span><span lang=NO-BOK><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=NO-BOK> <o:p></o:p></span></p></div></blockquote><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=NO-BOK>_______________________________________________<br>Quickfixn mailing list<br></span><a href="mailto:Quickfixn@lists.quickfixn.com" target="_blank"><span lang=NO-BOK>Quickfixn@lists.quickfixn.com</span></a><span lang=NO-BOK><br></span><a href="http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com" target="_blank"><span lang=NO-BOK>http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com</span></a><span lang=NO-BOK><o:p></o:p></span></p></div></blockquote></div></div></blockquote><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><div><p class=MsoNormal><span lang=NO-BOK>_______________________________________________<br>Quickfixn mailing list<br></span><a href="mailto:Quickfixn@lists.quickfixn.com" target="_blank"><span lang=NO-BOK>Quickfixn@lists.quickfixn.com</span></a><span lang=NO-BOK><br></span><a href="http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com" target="_blank"><span lang=NO-BOK>http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com</span></a><span lang=NO-BOK><o:p></o:p></span></p></div></blockquote></div></div></div></div><p class=MsoNormal style='margin-bottom:12.0pt'><span lang=NO-BOK><br>_______________________________________________<br>Quickfixn mailing list<br></span><a href="mailto:Quickfixn@lists.quickfixn.com"><span lang=NO-BOK>Quickfixn@lists.quickfixn.com</span></a><span lang=NO-BOK><br></span><a href="http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com" target="_blank"><span lang=NO-BOK>http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com</span></a><span lang=NO-BOK><o:p></o:p></span></p></blockquote></div><p class=MsoNormal><span lang=NO-BOK> <o:p></o:p></span></p></div></div></body></html>