{{Quickfixn}} Log In troubles

Erika Hernandez erika.hernandez at db.com
Thu Nov 21 09:39:00 PST 2013


Classification: Public


I tried this:

 UnitTestContext context = new UnitTestContext();

            ConnectionViewModel vm = new ConnectionViewModel(context.App);

            Assert.False(vm.IsConnected);

            vm.ConnectCommand.Execute(null);
            context.Login();
            Assert.True(vm.IsConnected);


But at the end, LogIn just does this:

  _qfapp.LogonEvent += new Action(delegate() { IsConnected = true; });


So, I think it is  not really setting a connection , just changes the 
flag.
In any part of that code is reading the config file.

If I  just need to send orders from C# to a server ( I'm not expecting to 
receive anything from the server) which example should I check?


Thanks & regards



********************************************************************************************************
This email is sent to you by Infosys Limited on behalf of Deutsche Bank.
Diese email wurde Ihnen von Infosys Limited im Auftrag der Deutschen Bank 
gesendet
********************************************************************************************************* 




From:
Grant Birchmeier <gbirchmeier at connamara.com>
To:
"Mailing list for QuickFIX/n" <quickfixn at lists.quickfixn.com>, 
Date:
11/21/2013 12:17 PM
Subject:
Re: {{Quickfixn}} Log In troubles



The login happens automatically.

If you create an initiator, and configure it with the proper login 
information and session times, then it will try to connect whenever it is 
started during an active session.

Have you looked at any of the example apps?
https://github.com/connamara/quickfixn/tree/master/Examples


On Thu, Nov 21, 2013 at 10:27 AM, Erika Hernandez <erika.hernandez at db.com> 
wrote:
Classification: Public

Hi , 

I'm ver y new using FIX , I'm trying to send an order from C# to our 
server. 

I think this approach will work fine: 


            var order = new QuickFix.FIX42.NewOrderSingle(); 
            order.ClOrdID = new ClOrdID("myOrder"); 
            order.Side = new Side(Side.BUY); 
            order.OrdType = new OrdType(OrdType.LIMIT); 
            order.Symbol = new Symbol("AB"); 
            order.Price = new Price((decimal)19.00); 
            order.Account = new Account("TestAccount"); 
            order.ExDestination = new ExDestination("ARCA_QA"); 
            order.OrderQty = new OrderQty((decimal)995); 
            order.TimeInForce = new TimeInForce(Convert.ToChar("0")); 
            order.SecurityID = new SecurityID("AB.N"); 
            order.HandlInst = new HandlInst(HandlInst
.AUTOMATED_EXECUTION_ORDER_PUBLIC_BROKER_INTERVENTION_OK); 


            Session.SendToTarget(order); 



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: 

 QuickFix.Message msg =  new QuickFix.FIX42.Logon(); 


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. 

Does anyone can help me , please? 


I would really appreciate any help. 


Regards, 
Erika 

********************************************************************************************************
This email is sent to you by Infosys Limited on behalf of Deutsche Bank.
Diese email wurde Ihnen von Infosys Limited im Auftrag der Deutschen Bank 
gesendet
********************************************************************************************************* 

---
This communication may contain confidential and/or privileged information.
If you are not the intended recipient (or have received this communication
in error) please notify the sender immediately and destroy this
communication. Any unauthorized copying, disclosure or distribution of the
material in this communication is strictly forbidden.

Deutsche Bank does not render legal or tax advice, and the information
contained in this communication should not be regarded as such.
_______________________________________________
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




---
This communication may contain confidential and/or privileged information.
If you are not the intended recipient (or have received this communication
in error) please notify the sender immediately and destroy this
communication. Any unauthorized copying, disclosure or distribution of the
material in this communication is strictly forbidden.

Deutsche Bank does not render legal or tax advice, and the information
contained in this communication should not be regarded as such.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quickfixn.com/pipermail/quickfixn-quickfixn.com/attachments/20131121/c0d02eff/attachment-0002.htm>


More information about the Quickfixn mailing list