Re: [Quickfix-users] Debugging help needed - checksums are off
Brought to you by:
orenmnero
From: Jonathan A. <ja...@fi...> - 2008-05-16 23:52:47
|
If I hand-calculate it, it looks like my partner company is sending me the correct checksum. Also, the checksums are only off if the message size is huge. For example, when the message size is about 6232 bytes and their sum is around 351,991. For the time being, how do I ignore checksum validation? Jonathan ________________________________ From: Oren Miller [mailto:or...@qu...] Sent: Friday, May 16, 2008 4:12 PM To: Jonathan Allen Cc: qui...@li... Subject: Re: [Quickfix-users] Debugging help needed - checksums are off My guess is that they are using the BeginString field as part of the checksum calculation. They are not supposed to do this because only fields appearing after the length fuels and before the checksum field itself should be included in the checksum calculation. You can verify this by doing a checksum on just the begin stein itself ( add up the charachter values +1 for the son, mid by 256). If you get 20, that's probably your culprit. At this point they can either fix the problem, which is best, or you can use the configuration setting in quickfix to ignore checksum validation. On May 16, 2008, at 5:18 PM, "Jonathan Allen" <ja...@fi...> wrote: QuickFIX Documentation: <http://www.quickfixengine.org/quickfix/doc/html/index.html> http://www.quickfixengine.org/quickfix/doc/html/index.html QuickFIX Support: <http://www.quickfixengine.org/services.html> http://www.quickfixengine.org/services.html I am having a problem with checksums being off. As you can see from my log snippet, they seem to be consistently off by +20. My partner company is not using QuickFix, though I don't know what they are using. Recently they added a couple of stipulations, but that is just a repeating group whose fields we already know. 1. What can cause this besides them sending me the wrong checksum? 2. Is there a way to calculate the checksums by hand? 3. Is there a history of different FIX engines calculating the checksum differently? 20080516-22:07:34 : Invalid message: Expected CheckSum=34, Recieved CheckSum=54 20080516-22:07:34 : Invalid message: Expected CheckSum=201, Recieved CheckSum=221 20080516-22:07:34 : Invalid message: Expected CheckSum=35, Recieved CheckSum=55 20080516-22:07:34 : Invalid message: Expected CheckSum=169, Recieved CheckSum=189 20080516-22:07:34 : Invalid message: Expected CheckSum=47, Recieved CheckSum=67 20080516-22:07:34 : Invalid message: Expected CheckSum=204, Recieved CheckSum=224 20080516-22:07:34 : Invalid message: Expected CheckSum=151, Recieved CheckSum=171 20080516-22:07:35 : Invalid message: Expected CheckSum=148, Recieved CheckSum=168 20080516-22:07:35 : Invalid message: Expected CheckSum=212, Recieved CheckSum=232 20080516-22:07:35 : Invalid message: Expected CheckSum=216, Recieved CheckSum=236 20080516-22:07:35 : Invalid message: Expected CheckSum=238, Recieved CheckSum=2 20080516-22:07:35 : Invalid message: Expected CheckSum=28, Recieved CheckSum=48 20080516-22:07:35 : Invalid message: Expected CheckSum=226, Recieved CheckSum=246 20080516-22:07:35 : Invalid message: Expected CheckSum=72, Recieved CheckSum=92 20080516-22:07:35 : Invalid message: Expected CheckSum=205, Recieved CheckSum=225 20080516-22:07:35 : Invalid message: Expected CheckSum=84, Recieved CheckSum=104 20080516-22:07:35 : Invalid message: Expected CheckSum=200, Recieved CheckSum=220 20080516-22:07:35 : Invalid message: Expected CheckSum=59, Recieved CheckSum=79 20080516-22:07:35 : Invalid message: Expected CheckSum=183, Recieved CheckSum=203 20080516-22:07:35 : Invalid message: Expected CheckSum=245, Recieved CheckSum=9 20080516-22:07:35 : Invalid message: Expected CheckSum=67, Recieved CheckSum=87 20080516-22:07:35 : Invalid message: Expected CheckSum=45, Recieved CheckSum=65 20080516-22:07:35 : Invalid message: Expected CheckSum=196, Recieved CheckSum=216 20080516-22:07:35 : Invalid message: Expected CheckSum=218, Recieved CheckSum=238 20080516-22:07:35 : Invalid message: Expected CheckSum=18, Recieved CheckSum=38 20080516-22:07:35 : Invalid message: Expected CheckSum=237, Recieved CheckSum=1 20080516-22:07:35 : Invalid message: Expected CheckSum=123, Recieved CheckSum=143 20080516-22:07:35 : Invalid message: Expected CheckSum=93, Recieved CheckSum=113 Jonathan Allen Software Developer Fixed Income Securities, Inc. 858-547-7731 7720 Trade Street, Suite 310 San Diego, CA 92121 www.fisbonds.com Member FINRA/SIPC INFORMATION REGARDING SECURITIES IS FOR BROKER/DEALER AND REGISTERED ADVISOR USE ONLY - NOT FOR USE WITH THE PUBLIC If the reader of this message is not the intended recipient, you are notified that any disclosure, distribution or copying is prohibited. Please click here <http://www.fisbonds.com/FISBonds/PublicSite/EmailDisclosures.aspx> for additional disclosures. http://www.fisbonds.com/FISBonds/PublicSite/EmailDisclosures.aspx ------------------------------------------------------------------------ - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Quickfix-users mailing list Qui...@li... https://lists.sourceforge.net/lists/listinfo/quickfix-users INFORMATION REGARDING SECURITIES IS FOR BROKER/DEALER AND REGISTERED ADVISOR USE ONLY - NOT FOR USE WITH THE PUBLIC If the reader of this message is not the intended recipient, you are notified that any disclosure, distribution or copying is prohibited. Please click here for additional disclosures. http://www.fisbonds.com/FISBonds/PublicSite/EmailDisclosures.aspx |