<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=us-ascii">
<meta name="Generator" content="Microsoft Word 12 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"MS PMincho";}
@font-face
        {font-family:"\}";
        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-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@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">Did you configure your cfg file, it contains all the configuration for the Default as well as for the 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" style="text-align:justify;line-height:12.0pt;text-autospace:none">
<span style="font-size:11.0pt;font-family:"Arial","sans-serif";color:#4F81BD">Thanks & Regards,<o:p></o:p></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:12.0pt;text-autospace:none">
<span style="font-size:11.0pt;font-family:"Arial","sans-serif";color:#4F81BD">Ashutosh Mishra<o:p></o:p></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:12.0pt;text-autospace:none">
<span style="font-family:"MS PMincho";color:black"><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 style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> quickfixn-bounces@lists.quickfixn.com [mailto:quickfixn-bounces@lists.quickfixn.com]
<b>On Behalf Of </b>Erika Hernandez<br>
<b>Sent:</b> Thursday, November 21, 2013 11:28 AM<br>
<b>To:</b> quickfixn@lists.quickfixn.com<br>
<b>Subject:</b> {{Quickfixn}} Log In troubles<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">Classification: Public<br>
<br>
Hi ,</span> <br>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">I'm ver y new using FIX , I'm trying to send an order from C# to our server.</span>
<br>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">I think this approach will work fine:</span>
<br>
<br>
<br>
<span style="font-size:7.5pt;font-family:"}","serif"">            <span style="color:blue">
var</span> order = <span style="color:blue">new</span> QuickFix.FIX42.<span style="color:#4181C0">NewOrderSingle</span>();</span>
<br>
<span style="font-size:7.5pt;font-family:"}","serif"">            order.ClOrdID =
<span style="color:blue">new</span> <span style="color:#4181C0">ClOrdID</span>(<span style="color:#A11F12">"myOrder"</span>);</span>
<br>
<span style="font-size:7.5pt;font-family:"}","serif"">            order.Side = <span style="color:blue">
new</span> <span style="color:#4181C0">Side</span>(<span style="color:#4181C0">Side</span>.BUY);</span>
<br>
<span style="font-size:7.5pt;font-family:"}","serif"">            order.OrdType =
<span style="color:blue">new</span> <span style="color:#4181C0">OrdType</span>(<span style="color:#4181C0">OrdType</span>.LIMIT);</span>
<br>
<span style="font-size:7.5pt;font-family:"}","serif"">            order.Symbol = <span style="color:blue">
new</span> <span style="color:#4181C0">Symbol</span>(<span style="color:#A11F12">"AB"</span>);</span>
<br>
<span style="font-size:7.5pt;font-family:"}","serif"">            order.Price = <span style="color:blue">
new</span> <span style="color:#4181C0">Price</span>((<span style="color:blue">decimal</span>)19.00);</span>
<br>
<span style="font-size:7.5pt;font-family:"}","serif"">            order.Account =
<span style="color:blue">new</span> <span style="color:#4181C0">Account</span>(<span style="color:#A11F12">"TestAccount"</span>);</span>
<br>
<span style="font-size:7.5pt;font-family:"}","serif"">            order.ExDestination =
<span style="color:blue">new</span> <span style="color:#4181C0">ExDestination</span>(<span style="color:#A11F12">"ARCA_QA"</span>);</span>
<br>
<span style="font-size:7.5pt;font-family:"}","serif"">            order.OrderQty =
<span style="color:blue">new</span> <span style="color:#4181C0">OrderQty</span>((<span style="color:blue">decimal</span>)995);</span>
<br>
<span style="font-size:7.5pt;font-family:"}","serif"">            order.TimeInForce =
<span style="color:blue">new</span> <span style="color:#4181C0">TimeInForce</span>(<span style="color:#4181C0">Convert</span>.ToChar(<span style="color:#A11F12">"0"</span>));</span>
<br>
<span style="font-size:7.5pt;font-family:"}","serif"">            order.SecurityID =
<span style="color:blue">new</span> <span style="color:#4181C0">SecurityID</span>(<span style="color:#A11F12">"AB.N"</span>);</span>
<br>
<span style="font-size:7.5pt;font-family:"}","serif"">            order.HandlInst =
<span style="color:blue">new</span> <span style="color:#4181C0">HandlInst</span>(<span style="color:#4181C0">HandlInst</span>.AUTOMATED_EXECUTION_ORDER_PUBLIC_BROKER_INTERVENTION_OK);</span>
<br>
<br>
<br>
<span style="font-size:7.5pt;font-family:"}","serif"">            <span style="color:#4181C0">
Session</span>.SendToTarget(order); </span><br>
<br>
<br>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">But previously I need to set a connection with the server , but I don't know how to log in, I found this approach in the sample code:</span>
<br>
<br>
<span style="font-size:7.5pt;font-family:"}","serif""> QuickFix.<span style="color:#4181C0">Message</span> msg =  <span style="color:blue">new</span> QuickFix.FIX42.<span style="color:#4181C0">Logon</span>();</span>
<br>
<br>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">But I don't know how to execute it  or setting the connection data ( host, port, senderCompID , targetCompID) , I tried to follow the example but is not clear  enough for me.</span>
<br>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">Does anyone can help me , please?</span>
<br>
<br>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">I would really appreciate any help.</span>
<br>
<br>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">Regards,</span> <br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">Erika <br>
<br>
********************************************************************************************************<br>
This email is sent to you by Infosys Limited on behalf of Deutsche Bank.<br>
Diese email wurde Ihnen von Infosys Limited im Auftrag der Deutschen Bank gesendet<br>
*********************************************************************************************************
</span><br>
<span style="font-size:7.5pt;font-family:"Arial","sans-serif"">---</span><br>
<span style="font-size:10.0pt;font-family:"Courier New"">This communication may contain confidential and/or privileged information.<br>
If you are not the intended recipient (or have received this communication<br>
in error) please notify the sender immediately and destroy this<br>
communication. Any unauthorized copying, disclosure or distribution of the<br>
material in this communication is strictly forbidden.<br>
<br>
Deutsche Bank does not render legal or tax advice, and the information<br>
contained in this communication should not be regarded as such.</span><o:p></o:p></p>
</div>
</body>
</html>