{{Quickfixn}} OrderStatusRequest issue

xmoon 2000 xmoon2000 at googlemail.com
Thu Oct 8 06:20:09 PDT 2020


Grant,

I have this:

     public void OnMessage(QuickFix.FIX44.TradingSessionStatus
message, SessionID sessionID)
        {
            try
            {
                MyLog("Trading Message Status");
            }
            catch (Exception err)
            {
                MyLog("Trading Message Status issue: "+err.Message+"
"+err.StackTrace);
            }
        }

And I get this error early in day, and no error an hour later:

Cracker Exception: QuickFix.UnsupportedMessageType: Exception of type
'QuickFix.UnsupportedMessageType' was thrown.
   at QuickFix.MessageCracker.Crack(Message message, SessionID sessionID)
   at OMS1.OrdersInitiator.FromApp(Message msg, SessionID sessionID)
in C:\Projects\OMS1\OMS1\OrdersInitiator.cs:line 1263
OMS1

On Fri, 2 Oct 2020 at 16:38, Grant Birchmeier <gbirchmeier at connamara.com> wrote:
>
> It's not an admin message, and it's not one of the message types that the engine automatically handles.
>
> Unless you've implemented "OnMessage(TradingSessionStatus msg)", I'd expect your app to respond with a 35=j reject (with 380=3/UnsupportedMessageType).  If you just want to ignore it, then implement that method with an empty body.
>
> If you have observed that your app has been silently ignoring this message in the past, then I cannot explain that.  I would first suggest that you might be mistaken :)
>
> On Fri, Oct 2, 2020 at 4:10 AM xmoon 2000 <xmoon2000 at googlemail.com> wrote:
>>
>> Hi,
>>
>> I always receive a 35=h message from a particular server straight after logon.
>>
>> I have not written any code to handle this message - I assume it is
>> handled by QuickFIXn automatically like a heartbeat?
>>
>> Today, for the first time, this message caused a Cracker exception. On
>> restarting the connecting, the message did NOT generate a Cracker
>> exception as usual.
>>
>> What might have happened to cause the message to create a Cracker exception?
>>
>> This message caused exception:
>> 20201002-00:23:51.253 : 8=FIX.4.4 9=67 35=h 49=yyy 34=2
>> 52=20201002-00:23:51.234 56=xxxxxxx 336=0 340=2 10=181
>>
>> This did not:
>> 20201002-03:05:29.953 : 8=FIX.4.4 9=67 35=h 49=yyy 34=2
>> 52=20201002-03:05:29.947 56=xxxxxxxt 336=0 340=2 10=200
>> _______________________________________________
>> 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
>
> This email, along with any attachments, is confidential. If you believe you received this message in error, please contact the sender immediately and delete all copies of the message. Thank you from Connamara Systems, LLC._______________________________________________
> Quickfixn mailing list
> Quickfixn at lists.quickfixn.com
> http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com



More information about the Quickfixn mailing list