<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 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:Century;
panose-1:2 4 6 4 5 5 5 2 3 4;}
@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:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
{font-family:"MS PMincho";
panose-1:2 2 6 0 4 2 5 8 3 4;}
@font-face
{font-family:"\@MS PMincho";
panose-1:2 2 6 0 4 2 5 8 3 4;}
@font-face
{font-family:inherit;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
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;}
p
{mso-style-priority:99;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Balloon Text Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";}
span.BalloonTextChar
{mso-style-name:"Balloon Text Char";
mso-style-priority:99;
mso-style-link:"Balloon Text";
font-family:"Tahoma","sans-serif";}
span.EmailStyle20
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.EmailStyle21
{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:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
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=DE-CH link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'>Hi,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p><span lang=EN-US style='font-family:Consolas;color:blue'>var</span><span lang=EN-US style='font-family:Consolas'> file = @<span style='color:#A31515'>"C:\Initiator.cfg"</span>;<o:p></o:p></span></p><p><span lang=EN-US style='font-family:Consolas'>QuickFix.<span style='color:#2B91AF'>SessionSettings</span> settings = <span style='color:blue'>new</span> QuickFix.<span style='color:#2B91AF'>SessionSettings</span>(file);<o:p></o:p></span></p><p><span lang=EN-US style='font-family:Consolas'>or<o:p></o:p></span></p><p><span lang=EN-US style='font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white'>System.IO.</span><span lang=EN-US style='font-size:9.5pt;font-family:Consolas;color:#2B91AF;background:white;mso-highlight:white'>Path</span><span lang=EN-US style='font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white'>.Combine(“C:”,</span><span lang=EN-US style='font-size:9.5pt;font-family:Consolas;color:black'>”</span><span lang=EN-US style='font-family:Consolas;color:#A31515'>Initiator.cfg”</span><span lang=EN-US style='font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white'>);</span><span lang=EN-US style='font-family:Consolas'><o:p></o:p></span></p><p><span lang=EN-US style='font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white'>System.IO.</span><span lang=EN-US style='font-size:9.5pt;font-family:Consolas;color:#2B91AF;background:white;mso-highlight:white'>Path</span><span lang=EN-US style='font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white'>.Combine(System.IO.</span><span lang=EN-US style='font-size:9.5pt;font-family:Consolas;color:#2B91AF;background:white;mso-highlight:white'>Directory</span><span lang=EN-US style='font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white'>.GetCurrentDirectory(),</span><span lang=EN-US style='font-size:9.5pt;font-family:Consolas;color:black'>”</span><span lang=EN-US style='font-family:Consolas;color:#A31515'>Initiator.cfg”</span><span lang=EN-US style='font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white'>);</span><span lang=EN-US style='font-family:Consolas'><o:p></o:p></span></p><p><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'>Thanks,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'>Walter<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>From:</span></b><span lang=EN-US 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>Ashutosh Mishra<br><b>Sent:</b> Donnerstag, 24. Oktober 2013 20:23<br><b>To:</b> Mailing list for QuickFIX/n<br><b>Subject:</b> Re: {{Quickfixn}} FpML file<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Tried the way you said, but It did not work either…<o:p></o:p></span></p><p><span lang=EN-US style='font-family:Consolas;color:blue'>string</span><span lang=EN-US style='font-family:Consolas'> file = <span style='color:#A31515'>"C:\\Initiator.cfg"</span>;</span><span lang=EN-US><o:p></o:p></span></p><p><span lang=EN-US style='font-family:Consolas'>QuickFix.<span style='color:#2B91AF'>SessionSettings</span> settings = <span style='color:blue'>new</span> QuickFix.<span style='color:#2B91AF'>SessionSettings</span>(@file);</span><span lang=EN-US><o:p></o:p></span></p><p><span lang=EN-US style='font-family:Consolas;color:#2B91AF'>TradeClientApp</span><span lang=EN-US style='font-family:Consolas'> application = <span style='color:blue'>new</span> <span style='color:#2B91AF'>TradeClientApp</span>();</span><span lang=EN-US><o:p></o:p></span></p><p><span lang=EN-US style='font-family:Consolas'>QuickFix.<span style='color:#2B91AF'>IMessageStoreFactory</span> storeFactory = <span style='color:blue'>new</span> QuickFix.<span style='color:#2B91AF'>FileStoreFactory</span>(settings);</span><span lang=EN-US><o:p></o:p></span></p><p><span lang=EN-US style='font-family:Consolas'>QuickFix.<span style='color:#2B91AF'>ILogFactory</span> logFactory = <span style='color:blue'>new</span> QuickFix.<span style='color:#2B91AF'>ScreenLogFactory</span>(settings);</span><span lang=EN-US><o:p></o:p></span></p><p><span lang=EN-US style='font-family:Consolas'>QuickFix.Transport.<span style='color:#2B91AF'>SocketInitiator</span> initiator = <span style='color:blue'>new</span> QuickFix.Transport.<span style='color:#2B91AF'>SocketInitiator</span>(application, storeFactory, settings, logFactory);</span><span lang=EN-US><o:p></o:p></span></p><p><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>I realized the code breaks when it goes to "</span><span lang=EN-US style='font-family:Consolas'>QuickFix.Transport.<span style='color:#2B91AF'>SocketInitiator</span> initiator = <span style='color:blue'>new</span> QuickFix.Transport.<span style='color:#2B91AF'>SocketInitiator</span>(application, storeFactory, settings, logFactory);"<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>and it directly goes to catch block after this and gives error. I tries lot of things before posting my probem .. I am aware of C# and command line but as I tried lot of things which did not work, so thought something tricky might be involved. But I am certainly ner wto QuickFix.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US 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 lang=EN-US 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 lang=EN-US 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 lang=EN-US style='font-family:"MS PMincho","serif";color:black'><o:p> </o:p></span></p><p class=MsoNormal style='text-align:justify;line-height:12.0pt;text-autospace:none'><span lang=EN-US style='font-family:"MS PMincho","serif";color:black'>*********************************************************************************<o:p></o:p></span></p><p class=MsoNormal style='line-height:12.0pt;text-autospace:none'><span lang=EN-US style='font-family:"MS PMincho","serif";color:black'>This communication (including any attachments) is intended only or the use of the individual whom it is addressed and may contain information that is privileged, confidential or legally protected. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message. Please also delete the message and its attachments, if any, from your computer and destroy any hard copies you may have created. Thank you for your cooperation. <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"MS PMincho","serif";color:black'>*********************************************************************************</span><span lang=EN-US style='font-size:10.5pt;font-family:"Century","serif";color:#1F497D'><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US 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 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> <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>Grant Birchmeier<br><b>Sent:</b> Thursday, October 24, 2013 2:05 PM<br><b>To:</b> Mailing list for QuickFIX/n<br><b>Subject:</b> Re: {{Quickfixn}} FpML file<o:p></o:p></span></p></div><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><div><div><p class=MsoNormal><span lang=EN-US style='color:black'>I think you ne</span><span lang=EN-US>ed to use "\Initiator.cfg" instead of "C:\Initiator.cfg". It's a windows thing. Better get, use a relative path instead of an absolute path.<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-US style='color:black'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span lang=EN-US style='color:black'>As far as "args[]", that's just command-line arguments, which is a very basic C# feature. It comes from the "Main" declaration:<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-US style='color:black'> </span><b><span lang=EN-US style='font-family:inherit;color:black;letter-spacing:.65pt;border:none windowtext 1.0pt;padding:0cm;background:#F7F9F9'>static</span></b><span lang=EN-US style='font-size:7.0pt;font-family:"Courier New";color:#444444;letter-spacing:.65pt;background:#F7F9F9'> </span><b><span lang=EN-US style='font-family:inherit;color:black;letter-spacing:.65pt;border:none windowtext 1.0pt;padding:0cm;background:#F7F9F9'>void</span></b><span lang=EN-US style='font-size:7.0pt;font-family:"Courier New";color:#444444;letter-spacing:.65pt;background:#F7F9F9'> Main(</span><b><span lang=EN-US style='font-family:inherit;color:black;letter-spacing:.65pt;border:none windowtext 1.0pt;padding:0cm;background:#F7F9F9'>string</span></b><span lang=EN-US style='font-size:7.0pt;font-family:"Courier New";color:#444444;letter-spacing:.65pt;background:#F7F9F9'>[] args)</span><span lang=EN-US style='color:black'><o:p></o:p></span></p></div><p class=MsoNormal><span lang=EN-US>I highly recommend that you learn about <o:p></o:p></span></p><div><p class=MsoNormal><span lang=EN-US style='color:black'>C# command-line args<o:p></o:p></span></p></div><p class=MsoNormal><span lang=EN-US>. It's something <o:p></o:p></span></p><div><p class=MsoNormal><span lang=EN-US style='color:black'>that is taught <o:p></o:p></span></p></div><p class=MsoNormal><span lang=EN-US>quite early in any intro programming class.<o:p></o:p></span></p><div><p class=MsoNormal><span lang=EN-US style='color:black'> Have a look at this tutorial:<o:p></o:p></span></p></div><div><div><p class=MsoNormal><span lang=EN-US style='color:black'><a href="http://msdn.microsoft.com/en-us/library/aa288457(v=vs.71).aspx">http://msdn.microsoft.com/en-us/library/aa288457(v=vs.71).aspx</a><o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-US style='color:black'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span lang=EN-US style='color:black'>Forgive me if I'm mistaken, but I'm getting the impression that you are a beginner to C#. That's totally okay, but please try to make sure your questions are for QF/n problems and not for general C# help. There are many other (and better!) places to get general C# help.<o:p></o:p></span></p></div></div><div><div><p class=MsoNormal><span lang=EN-US style='color:black'><o:p> </o:p></span></p></div></div><div><div><p class=MsoNormal><span lang=EN-US style='color:black'>Thanks<o:p></o:p></span></p></div></div><div><div><p class=MsoNormal><span lang=EN-US style='color:black'>-Grant<o:p></o:p></span></p></div></div><div><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p></div><div><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p></div></div><div><p class=MsoNormal style='margin-bottom:12.0pt'><span lang=EN-US><o:p> </o:p></span></p><div><p class=MsoNormal><span lang=EN-US>On Thu, Oct 24, 2013 at 12:47 PM, Ashutosh Mishra <<a href="mailto:A.Mishra@ny.tr.mufg.jp" target="_blank">A.Mishra@ny.tr.mufg.jp</a>> wrote:<o:p></o:p></span></p><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>The file is stored in "C:". Get the following error:</span><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>"Configuration Failed: File Initiator.cfg not found(Could not find file…)"</span><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Further, if I intend to use the code that is mentioned on official site:</span><span lang=EN-US><o:p></o:p></span></p><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:10.8pt;background:white'><b><span lang=EN-US style='font-size:7.0pt;font-family:Consolas;color:#333333'>if</span></b><span lang=EN-US style='font-size:7.0pt;font-family:Consolas;color:#333333'> (args.Length != </span><span lang=EN-US style='font-size:7.0pt;font-family:Consolas;color:#009999'>1</span><span lang=EN-US style='font-size:7.0pt;font-family:Consolas;color:#333333'>)</span><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:10.8pt;background:white'><span lang=EN-US style='font-size:7.0pt;font-family:Consolas;color:#333333'> { System.Console.WriteLine(</span><span lang=EN-US style='font-size:7.0pt;font-family:Consolas;color:#DD1144'>"usage: TradeClient.exe CONFIG_FILENAME"</span><span lang=EN-US style='font-size:7.0pt;font-family:Consolas;color:#333333'>);</span><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:10.8pt;background:white'><span lang=EN-US style='font-size:7.0pt;font-family:Consolas;color:#333333'> System.Environment.Exit(</span><span lang=EN-US style='font-size:7.0pt;font-family:Consolas;color:#009999'>2</span><span lang=EN-US style='font-size:7.0pt;font-family:Consolas;color:#333333'>);</span><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:10.8pt;background:white'><span lang=EN-US style='font-size:7.0pt;font-family:Consolas;color:#333333'> } </span><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:10.8pt;background:white'><span lang=EN-US style='font-size:7.0pt;font-family:Consolas;color:#333333'> </span><b><span lang=EN-US style='font-size:7.0pt;font-family:Consolas;color:#445588'>string</span></b><span lang=EN-US style='font-size:7.0pt;font-family:Consolas;color:#333333'> file = args[</span><span lang=EN-US style='font-size:7.0pt;font-family:Consolas;color:#009999'>0</span><span lang=EN-US style='font-size:7.0pt;font-family:Consolas;color:#333333'>];</span><span lang=EN-US><o:p></o:p></span></p></div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Where should I place the config file as I am not getting the concept of arg[0]?</span><span lang=EN-US><o:p></o:p></span></p><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-align:justify;line-height:12.0pt;text-autospace:none'><span lang=EN-US style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#4F81BD'>Thanks & Regards,</span><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-align:justify;line-height:12.0pt;text-autospace:none'><span lang=EN-US style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#4F81BD'>Ashutosh Mishra</span><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-align:justify;line-height:12.0pt;text-autospace:none'><span lang=EN-US style='font-family:"MS PMincho","serif"'> </span><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-align:justify;line-height:12.0pt;text-autospace:none'><span lang=EN-US style='font-family:"MS PMincho","serif"'>*********************************************************************************</span><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:12.0pt;text-autospace:none'><span lang=EN-US style='font-family:"MS PMincho","serif"'>This communication (including any attachments) is intended only or the use of the individual whom it is addressed and may contain information that is privileged, confidential or legally protected. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message. Please also delete the message and its attachments, if any, from your computer and destroy any hard copies you may have created. Thank you for your cooperation. </span><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US style='font-family:"MS PMincho","serif"'>*********************************************************************************</span><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><span lang=EN-US><o:p></o:p></span></p></div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> <a href="mailto:quickfixn-bounces@lists.quickfixn.com" target="_blank">quickfixn-bounces@lists.quickfixn.com</a> [mailto:<a href="mailto:quickfixn-bounces@lists.quickfixn.com" target="_blank">quickfixn-bounces@lists.quickfixn.com</a>] <b>On Behalf Of </b>Grant Birchmeier<br><b>Sent:</b> Thursday, October 24, 2013 1:41 PM</span><span lang=EN-US><o:p></o:p></span></p><div><div><p class=MsoNormal><span lang=EN-US><br><b>To:</b> Mailing list for QuickFIX/n<br><b>Subject:</b> Re: {{Quickfixn}} FpML file<o:p></o:p></span></p></div></div></div><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US> <o:p></o:p></span></p><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US>Whereever you want. The code you used looks fine, assuming that the file really is in "C:". Is it? You didn't say what the failure was.<o:p></o:p></span></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US> <o:p></o:p></span></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US>The TradeClient lets you supply the path as a command-line argument. There's nothing clever happening there. <o:p></o:p></span></p></div></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;margin-bottom:12.0pt'><span lang=EN-US> <o:p></o:p></span></p><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US>On Thu, Oct 24, 2013 at 12:29 PM, Ashutosh Mishra <<a href="mailto:A.Mishra@ny.tr.mufg.jp" target="_blank">A.Mishra@ny.tr.mufg.jp</a>> wrote:<o:p></o:p></span></p><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Now I know that I have to use the Initiator..Where do I need to put the Initiator.config file?</span><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>As if I use it like this : QuickFix.SessionSettings settings = new QuickFix.SessionSettings(@"C:\Initiator.cfg") -- It gives error.</span><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>On the official website, the following code :</span><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:10.8pt;background:white'><b><span lang=EN-US style='font-size:7.0pt;font-family:Consolas;color:#333333'>if</span></b><span lang=EN-US style='font-size:7.0pt;font-family:Consolas;color:#333333'> (args.Length != </span><span lang=EN-US style='font-size:7.0pt;font-family:Consolas;color:#009999'>1</span><span lang=EN-US style='font-size:7.0pt;font-family:Consolas;color:#333333'>)</span><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:10.8pt;background:white'><span lang=EN-US style='font-size:7.0pt;font-family:Consolas;color:#333333'> {</span><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:10.8pt;background:white'><span lang=EN-US style='font-size:7.0pt;font-family:Consolas;color:#333333'> System.Console.WriteLine(</span><span lang=EN-US style='font-size:7.0pt;font-family:Consolas;color:#DD1144'>"usage: TradeClient.exe CONFIG_FILENAME"</span><span lang=EN-US style='font-size:7.0pt;font-family:Consolas;color:#333333'>);</span><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:10.8pt;background:white'><span lang=EN-US style='font-size:7.0pt;font-family:Consolas;color:#333333'> System.Environment.Exit(</span><span lang=EN-US style='font-size:7.0pt;font-family:Consolas;color:#009999'>2</span><span lang=EN-US style='font-size:7.0pt;font-family:Consolas;color:#333333'>);</span><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:10.8pt;background:white'><span lang=EN-US style='font-size:7.0pt;font-family:Consolas;color:#333333'> }</span><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:10.8pt;background:white'><span lang=EN-US style='font-size:7.0pt;font-family:Consolas;color:#333333'> </span><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:10.8pt;background:white'><span lang=EN-US style='font-size:7.0pt;font-family:Consolas;color:#333333'> </span><b><span lang=EN-US style='font-size:7.0pt;font-family:Consolas;color:#445588'>string</span></b><span lang=EN-US style='font-size:7.0pt;font-family:Consolas;color:#333333'> file = args[</span><span lang=EN-US style='font-size:7.0pt;font-family:Consolas;color:#009999'>0</span><span lang=EN-US style='font-size:7.0pt;font-family:Consolas;color:#333333'>];</span><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:10.8pt;background:white'><span lang=EN-US style='font-size:7.0pt;font-family:Consolas;color:#333333'> </span><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Where do I need to define the "file"?</span><span lang=EN-US><o:p></o:p></span></p><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-align:justify;line-height:12.0pt;text-autospace:none'><span lang=EN-US style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#4F81BD'>Thanks & Regards,</span><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-align:justify;line-height:12.0pt;text-autospace:none'><span lang=EN-US style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#4F81BD'>Ashutosh Mishra</span><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-align:justify;line-height:12.0pt;text-autospace:none'><span lang=EN-US style='font-family:"MS PMincho","serif"'> </span><span lang=EN-US><o:p></o:p></span></p></div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-align:justify;line-height:12.0pt;text-autospace:none'><span lang=EN-US style='font-family:"MS PMincho","serif"'>*********************************************************************************</span><span lang=EN-US><o:p></o:p></span></p><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:12.0pt;text-autospace:none'><span lang=EN-US style='font-family:"MS PMincho","serif"'>This communication (including any attachments) is intended only or the use of the individual whom it is addressed and may contain information that is privileged, confidential or legally protected. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message. Please also delete the message and its attachments, if any, from your computer and destroy any hard copies you may have created. Thank you for your cooperation. </span><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US style='font-family:"MS PMincho","serif"'>*********************************************************************************</span><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><span lang=EN-US><o:p></o:p></span></p></div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> <a href="mailto:quickfixn-bounces@lists.quickfixn.com" target="_blank">quickfixn-bounces@lists.quickfixn.com</a> [mailto:<a href="mailto:quickfixn-bounces@lists.quickfixn.com" target="_blank">quickfixn-bounces@lists.quickfixn.com</a>] <b>On Behalf Of </b>Grant Birchmeier<br><b>Sent:</b> Wednesday, October 23, 2013 1:12 PM</span><span lang=EN-US><o:p></o:p></span></p><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US><br><b>To:</b> Mailing list for QuickFIX/n<br><b>Subject:</b> Re: {{Quickfixn}} FpML file<o:p></o:p></span></p></div></div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US> <o:p></o:p></span></p><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US>"Acceptor"/"Initiator" are just fancy FIX words that mean "server"/"client".<o:p></o:p></span></p></div><div><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US> <o:p></o:p></span></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US>If you are connecting to someone else's FIX server, you need to write an Initiator program.<o:p></o:p></span></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US> <o:p></o:p></span></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US>TradeClient is just one of the example apps. You can look at it to see how to implement an initiator app. (A lot of TradeClient's code is actually just command-line processing; the QF-specific parts are actually pretty simple.)<o:p></o:p></span></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US> <o:p></o:p></span></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US>-Grant<o:p></o:p></span></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US> <o:p></o:p></span></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;margin-bottom:12.0pt'><span lang=EN-US> <o:p></o:p></span></p><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US>On Wed, Oct 23, 2013 at 12:03 PM, Ashutosh Mishra <<a href="mailto:A.Mishra@ny.tr.mufg.jp" target="_blank">A.Mishra@ny.tr.mufg.jp</a>> wrote:<o:p></o:p></span></p><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Hi Walter,</span><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> went into the official website of quckFIX/n -- its very helpful. In my scenario I need to pick up the execution report, so will have to implement the Trade Client? Further, I do I need both the acceptor and initiator config files? Can you please help me into it?</span><span lang=EN-US><o:p></o:p></span></p><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><span lang=EN-US><o:p></o:p></span></p><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-align:justify;line-height:12.0pt;text-autospace:none'><span lang=EN-US style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#4F81BD'>Thanks & Regards,</span><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-align:justify;line-height:12.0pt;text-autospace:none'><span lang=EN-US style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#4F81BD'>Ashutosh Mishra</span><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-align:justify;line-height:12.0pt;text-autospace:none'><span lang=EN-US style='font-family:"MS PMincho","serif"'> </span><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-align:justify;line-height:12.0pt;text-autospace:none'><span lang=EN-US> <o:p></o:p></span></p></div></div></div></div></div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US>-- <o:p></o:p></span></p><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US style='background:white'>Grant Birchmeier</span><span lang=EN-US><o:p></o:p></span></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b><span lang=EN-US style='color:#3333FF;background:#FFCC00'>Connamara Systems, LLC</span></b><span lang=EN-US><o:p></o:p></span></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b><span lang=EN-US>Made-To-Measure Trading Solutions.</span></b><span lang=EN-US><o:p></o:p></span></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US>Exactly what you need. No more. No less.<o:p></o:p></span></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US><a href="http://connamara.com" target="_blank">http://connamara.com</a><o:p></o:p></span></p></div></div></div></div></div></div></div><p class=MsoNormal style='mso-margin-top-alt:auto;margin-bottom:12.0pt'><span lang=EN-US><br>_______________________________________________<br>Quickfixn mailing list<br><a href="mailto:Quickfixn@lists.quickfixn.com" target="_blank">Quickfixn@lists.quickfixn.com</a><br><a href="http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com" target="_blank">http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com</a><o:p></o:p></span></p></div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US><br><br clear=all><o:p></o:p></span></p><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US> <o:p></o:p></span></p></div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US>-- <o:p></o:p></span></p><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US style='background:white'>Grant Birchmeier</span><span lang=EN-US><o:p></o:p></span></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b><span lang=EN-US style='color:#3333FF;background:#FFCC00'>Connamara Systems, LLC</span></b><span lang=EN-US><o:p></o:p></span></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b><span lang=EN-US>Made-To-Measure Trading Solutions.</span></b><span lang=EN-US><o:p></o:p></span></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US>Exactly what you need. No more. No less.<o:p></o:p></span></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US><a href="http://connamara.com" target="_blank">http://connamara.com</a><o:p></o:p></span></p></div></div></div></div></div></div><p class=MsoNormal style='margin-bottom:12.0pt'><span lang=EN-US><br>_______________________________________________<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" target="_blank">http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com</a><o:p></o:p></span></p></div><p class=MsoNormal><span lang=EN-US><br><br clear=all><o:p></o:p></span></p><div><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p></div><p class=MsoNormal><span lang=EN-US>-- <o:p></o:p></span></p><div><p class=MsoNormal><span lang=EN-US style='background:white'>Grant Birchmeier</span><span lang=EN-US><o:p></o:p></span></p></div><div><p class=MsoNormal><b><span lang=EN-US style='color:#3333FF;background:#FFCC00'>Connamara Systems, LLC</span></b><span lang=EN-US><o:p></o:p></span></p></div><div><p class=MsoNormal><b><span lang=EN-US>Made-To-Measure Trading Solutions.</span></b><span lang=EN-US><o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-US>Exactly what you need. No more. No less.<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-US><a href="http://connamara.com" target="_blank">http://connamara.com</a><o:p></o:p></span></p></div></div></div></body></html>