{{Quickfixn}} Log In troubles
Grant Birchmeier
gbirchmeier at connamara.com
Thu Nov 21 09:17:16 PST 2013
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quickfixn.com/pipermail/quickfixn-quickfixn.com/attachments/20131121/53f27aaa/attachment-0002.htm>
More information about the Quickfixn
mailing list