{{Quickfixn}} FpML file

Grant Birchmeier gbirchmeier at connamara.com
Thu Oct 24 11:05:01 PDT 2013


I think you need 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.

As far as "args[]", that's just command-line arguments, which is a very
basic C# feature.  It comes from the "Main" declaration:
   static void Main(string[] args)
I highly recommend that you learn about
C# command-line args
.  It's something
that is taught
quite early in any intro programming class.
 Have a look at this tutorial:
http://msdn.microsoft.com/en-us/library/aa288457(v=vs.71).aspx

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.

Thanks
-Grant




On Thu, Oct 24, 2013 at 12:47 PM, Ashutosh Mishra <A.Mishra at ny.tr.mufg.jp>wrote:

>  The file is stored in "C:". Get the following error:****
>
> "Configuration Failed: File Initiator.cfg not found(Could not find file…)"
> ****
>
> Further, if I intend to use the code that is mentioned on official site:**
> **
>
> *if* (args.Length != 1)****
>
>             {  System.Console.WriteLine("usage: TradeClient.exe
> CONFIG_FILENAME");****
>
>                 System.Environment.Exit(2);****
>
>             } ****
>
>             *string* file = args[0];****
>
> Where should I place the config file as I am not getting the concept of
> arg[0]?****
>
> Thanks & Regards,****
>
> Ashutosh Mishra****
>
> ** **
>
>
> *********************************************************************************
> ****
>
> 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. ****
>
>
> *********************************************************************************
> ****
>
> ** **
>
> *From:* quickfixn-bounces at lists.quickfixn.com [mailto:
> quickfixn-bounces at lists.quickfixn.com] *On Behalf Of *Grant Birchmeier
> *Sent:* Thursday, October 24, 2013 1:41 PM
>
> *To:* Mailing list for QuickFIX/n
> *Subject:* Re: {{Quickfixn}} FpML file****
>
>  ** **
>
> 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.****
>
> ** **
>
> The TradeClient lets you supply the path as a command-line argument.
>  There's nothing clever happening there. ****
>
> ** **
>
> On Thu, Oct 24, 2013 at 12:29 PM, Ashutosh Mishra <A.Mishra at ny.tr.mufg.jp>
> wrote:****
>
> Now I know that I have to use the Initiator..Where do I need to put the
> Initiator.config file?****
>
> As if I use it like this : QuickFix.SessionSettings settings = new
> QuickFix.SessionSettings(@"C:\Initiator.cfg") -- It gives error.****
>
> On the official website, the following code :****
>
> *if* (args.Length != 1)****
>
>             {****
>
>                 System.Console.WriteLine("usage: TradeClient.exe
> CONFIG_FILENAME");****
>
>                 System.Environment.Exit(2);****
>
>             }****
>
>  ****
>
>             *string* file = args[0];****
>
>  ****
>
> Where do I need to define the "file"?****
>
>  ****
>
> Thanks & Regards,****
>
> Ashutosh Mishra****
>
>  ****
>
>
> *********************************************************************************
> ****
>
> 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. ****
>
>
> *********************************************************************************
> ****
>
>  ****
>
> *From:* quickfixn-bounces at lists.quickfixn.com [mailto:
> quickfixn-bounces at lists.quickfixn.com] *On Behalf Of *Grant Birchmeier
> *Sent:* Wednesday, October 23, 2013 1:12 PM****
>
>
> *To:* Mailing list for QuickFIX/n
> *Subject:* Re: {{Quickfixn}} FpML file****
>
>  ****
>
> "Acceptor"/"Initiator" are just fancy FIX words that mean
> "server"/"client".****
>
>  ****
>
> If you are connecting to someone else's FIX server, you need to write an
> Initiator program.****
>
>  ****
>
> 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.)****
>
>  ****
>
> -Grant****
>
>  ****
>
>  ****
>
> On Wed, Oct 23, 2013 at 12:03 PM, Ashutosh Mishra <A.Mishra at ny.tr.mufg.jp>
> wrote:****
>
> Hi Walter,****
>
>                    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?****
>
>  ****
>
>  ****
>
> Thanks & Regards,****
>
> Ashutosh Mishra****
>
>  ****
>
>  ****
>
> -- ****
>
> Grant Birchmeier****
>
> *Connamara Systems, LLC*****
>
> *Made-To-Measure Trading Solutions.*****
>
> Exactly what you need. No more. No less.****
>
> http://connamara.com****
>
>
> _______________________________________________
> Quickfixn mailing list
> Quickfixn at lists.quickfixn.com
> http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com****
>
>
>
> ****
>
> ** **
>
> -- ****
>
> Grant Birchmeier****
>
> *Connamara Systems, LLC*****
>
> *Made-To-Measure Trading Solutions.*****
>
> Exactly what you need. No more. No less.****
>
> http://connamara.com****
>
> _______________________________________________
> Quickfixn mailing list
> Quickfixn at lists.quickfixn.com
> http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com
>
>


-- 
Grant Birchmeier
*Connamara Systems, LLC*
*Made-To-Measure Trading Solutions.*
Exactly what you need. No more. No less.*
*
http://connamara.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quickfixn.com/pipermail/quickfixn-quickfixn.com/attachments/20131024/e2f41652/attachment-0002.htm>


More information about the Quickfixn mailing list