{{Quickfixn}} QuickFix/N

ThianChoong Siow thianchoong.siow at gmail.com
Sun Jul 8 14:50:06 PDT 2018


What about Fixlog folder? You will see the outbound and inbound messages in
the folder.

More example to refer here:
https://csharp.hotexamples.com/examples/QuickFix.Transport/SocketInitiator/-/php-socketinitiator-class-examples.html

On Mon, Jul 9, 2018 at 1:10 AM Rajkumar R <kraj232 at gmail.com> wrote:

> Am not receiving any reject msgs, any othr way to find
>
> On Sun, Jul 8, 2018, 10:36 PM Rajkumar R <kraj232 at gmail.com> wrote:
>
>> Hi,
>> I am not receiving any reject messages also, so any way to find the error
>>
>> On Sun, Jul 8, 2018, 9:15 PM ThianChoong Siow <thianchoong.siow at gmail.com>
>> wrote:
>>
>>> Hi,
>>>
>>> Please refer to here :
>>> http://quickfixn.org/tutorial/receiving-messages.html
>>>
>>> After calling Crack(), you have to use OnMessage(xx, xx) mthod to read
>>> the message.
>>>
>>> Anyhow, do you receive Reject message?
>>>
>>> On Sun, Jul 8, 2018 at 7:34 PM Rajkumar R <Rajkumar.r at olamnet.com>
>>> wrote:
>>>
>>>> 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.
>>>> _______________________________________________
>>>> Quickfixn mailing list
>>>> Quickfixn at lists.quickfixn.com
>>>> http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com
>>>>
>>>
>>>
>>> --
>>> Regards,
>>> TC
>>> _______________________________________________
>>> Quickfixn mailing list
>>> Quickfixn at lists.quickfixn.com
>>> http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com
>>>
>> _______________________________________________
> Quickfixn mailing list
> Quickfixn at lists.quickfixn.com
> http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com
>


-- 
Regards,
TC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quickfixn.com/pipermail/quickfixn-quickfixn.com/attachments/20180709/ce422b45/attachment.htm>


More information about the Quickfixn mailing list