{{Quickfixn}} Checksum problem

Grant Birchmeier gbirchmeier at connamara.com
Fri Sep 7 07:31:26 PDT 2012


Opened issue 99 for this:
https://github.com/connamara/quickfixn/issues/99


On Tue, Aug 21, 2012 at 11:16 AM, Grant Birchmeier <
gbirchmeier at connamara.com> wrote:

> Yes, if the target is from someone else, then you have to use the message
> they give you, however insane.
>
> Since this is a real counterparty, it's something we should be ready to
> handle, so I will log a bug for this issue so it doesn't get lost.
>
>
> On Tue, Aug 21, 2012 at 10:59 AM, Christophe Lucas <Christophe.Lucas at ae.be
> > wrote:
>
>>  The target system is not our implementation. This security list  is our
>> only possibility to retrieve programmatically  the securities we can trade
>> on their platform as we would like to synchronize each night their list
>> with ours. I cannot see a possibility to break this message up. The
>> security list message has got a tag ‘393 TotNoRelatedSym’ to facilitate the
>> breaking up of long messages, but it seems that they are not using this. I
>> will ask if they are able to make this possible.
>>
>>
>>
>> So far I didn’t encounter problems with smaller SecurityList messages.
>>
>>
>>
>> Meanwhile I will recompile quickfixn without the validate() line and test
>> with this assembly.
>>
>>
>>
>> Kind regards,
>>
>> Christophe
>>
>>
>>
>>
>>
>> *From:* Grant Birchmeier [mailto:gbirchmeier at connamara.com]
>> *Sent:* dinsdag 21 augustus 2012 17:15
>> *To:* Christophe Lucas
>> *Cc:* Mailing list for QuickFIX/n
>> *Subject:* Re: [SPAM] Re: {{Quickfixn}} Checksum problem
>>
>>
>>
>> Wow, that is a very long message.  I wonder if the excessive length is
>> exposing a bug in QF/n.  I'm afraid I probably won't be able to find time
>> to dig into this very soon due to my work responsibilities.
>>
>>
>>
>> Do you have trouble with smaller SecurityList messages?
>>
>>
>>
>> If the Target system ("DEMO-PRAG3") is your implementation, I might
>> suggest that you break this message up into smaller messages, instead of a
>> single 569K message.  If it's not your implementation, then that's not an
>> option (and I kind of wonder what they're thinking).
>>
>>
>>
>> -Grant
>>
>>
>>
>>
>>
>> On Tue, Aug 21, 2012 at 9:55 AM, Christophe Lucas <Christophe.Lucas at ae.be>
>> wrote:
>>
>> Thank you for your fast response.
>>
>> The exception it gives is : "Invalid message: Expected CheckSum=207,
>> Received CheckSum=123"
>>
>> The message itself can be found in attachment.
>>
>>
>>
>> Kind regards,
>>
>> Christophe
>>
>>
>>
>> *From:* quickfixn-bounces at lists.quickfixn.com [mailto:
>> quickfixn-bounces at lists.quickfixn.com] *On Behalf Of *Grant Birchmeier
>> *Sent:* dinsdag 21 augustus 2012 16:35
>> *To:* Mailing list for QuickFIX/n
>> *Subject:* [SPAM] Re: {{Quickfixn}} Checksum problem
>> *Importance:* Low
>>
>>
>>
>> It's commented out because the disabling of this feature is not
>> implemented yet.
>>
>>
>>
>> Can you provide your erroneous message and the error it gives?  That will
>> help us log a bug and fix it.
>>
>>
>>
>>
>>
>> On Tue, Aug 21, 2012 at 9:19 AM, Christophe Lucas <Christophe.Lucas at ae.be>
>> wrote:
>>
>> Dear all,
>>
>>
>>
>> I have got a problem with the checksum validation in a FIX5.0SP2
>> application when I receive a  SecurityList message.
>>
>> The calculated checksum is not equal with the given checksum in the
>> message.
>>
>>
>>
>> As a quick fix, I was hoping to use the option
>> ‘ValidateLengthAndChecksum=N’ , but I see that this option has been put
>> into comment:
>>
>>
>>
>> /** FIXME - implement optional settings
>>
>>
>>             if (settings.Has(SessionSettings.VALIDATE_LENGTH_AND_CHECKSUM))
>>
>>
>>                 session.SetValidateLengthAndChecksum(settings.GetBool(SessionSettings.VALIDATE_LENGTH_AND_CHECKSUM));
>>
>> */
>>
>>
>>
>>
>>
>> Can someone tell me if this is a known issue and if it is possible to
>> comment it out again? Or are there other solutions?
>>
>>
>>
>> Kind regards,
>>
>> Christophe
>>
>>
>>
>>
>> _______________________________________________
>> 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
>>
>>
>>
>>
>>
>>
>> --
>>
>> Grant Birchmeier
>>
>> *Connamara Systems, LLC*
>>
>> *Made-To-Measure Trading Solutions.*
>>
>> Exactly what you need. No more. No less.
>>
>> http://connamara.com
>>
>>
>>
>
>
>
> --
> Grant Birchmeier
> *Connamara Systems, LLC*
> *Made-To-Measure Trading Solutions.*
> Exactly what you need. No more. No less.*
> *
> http://connamara.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/20120907/f8d4c15a/attachment-0002.htm>


More information about the Quickfixn mailing list