{{Quickfixn}} QuickFix/N

Rajkumar R Rajkumar.r at olamnet.com
Sun Jul 8 04:34:06 PDT 2018


Hi,
I am new FIX development, searched in google  got your solution  , now am able to connect . can you please provide me the source of how to receive the messages from FIX. The example in the help of quickfix is incomplete. If you can help it would be great

SendMessage

   public void sendMessage(SessionID sessionID)
        {
            var order = new QuickFix.FIX44.NewOrderSingle(
                new ClOrdID("20180707Olam131"), //it should be uniqueid
                new Symbol("EUR/GBP"),
                new Side(Side.BUY),
                new TransactTime(DateTime.Now),
                new OrdType(OrdType.MARKET));

            order.SetField(new NoAllocs(1));
            order.SetField(new Currency("EUR"));
            order.SetField(new SettlDate("20190315"));
            order.SetField(new Price(Convert.ToDecimal("44.55")));
          //  order.SetField(new OrderQty(10));
            order.SetField(new Account("Olam Europe Limited"));
            order.SetField(new AllocAccount("Olam Europe Limited"));
            order.SetField(new AllocQty(50));
            Session.SendToTarget(order, sessionID);
        }

I want to receive the message

Your help doc shows FromApp  event, but it is not firing

  public void FromApp(Message message, SessionID sessionID)
        {
            string underlyingsecurityId = message.GetString(Tags.UnderlyingSecurityID);
            Console.WriteLine("IN:  " + message.ToString());
            try
            {
                Crack(message, sessionID);
            }
            catch (Exception ex)
            {
                Console.WriteLine("==Cracker exception==");
                Console.WriteLine(ex.ToString());
                Console.WriteLine(ex.StackTrace);
            }
}

With Regards,
Rajkumar
This email is confidential and may also be privileged. If you are not the intended recipient, please delete it and notify us immediately; you should not copy or use it for any purpose, nor disclose its contents to any other person. Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quickfixn.com/pipermail/quickfixn-quickfixn.com/attachments/20180708/c48dc657/attachment.html>


More information about the Quickfixn mailing list