Imported from previous forum
Hi,
What is the field BodyLength stand for ? It is for the whole FIX message’s length, or for the length of the latter fields within this FIX message (does not include the first 3 fields’ length) ?
I got some sample FIX 4.1 sample data from this site, but the BodyLength field does not match to neither the whole message length or the latter fields’ length.
8=FIX.4.19=9035=049=INVMGR56=BRKR34=23952=19980604-08:02:3110=026
8=FIX.4.19=11235=049=BRKR56=INVMGR34=24152=19980604-08:02:36112=19980604-08:02:3610=018
8=FIX.4.19=9035=049=INVMGR56=BRKR34=24052=19980604-08:03:3110=220
Thanks.
Have you tried to find the answer in the FIX documentation? It took me about 30 seconds by searching for “BodyLength”. Here it is (FIX 4.4 Volume 2 FIX Session Protocol, page 4 under Data Integrity):
“The message length is indicated in the BodyLength field and is verified by counting the number of characters in the message following the BodyLength field up to, and including, the delimiter immediately preceding the CheckSum tag (“10=”).”
Hi,
What is the field BodyLength stand for ? It is for the whole FIX
message’s length, or for the length of the latter fields within this FIX
message (does not include the first 3 fields’ length) ?I got some sample FIX 4.1 sample data from this site, but the BodyLength
field does not match to neither the whole message length or the latter
fields’ length.8=FIX.4.19=9035=049=INVMGR56=BRKR34=23952=19980604-
08:02:3110=026 8=FIX.4.19=11235=049=BRKR56=INVMGR34=24152=19980604-
08:02:36112=19980604-08:02:3610=018 8=FIX.4.19=9035=049=INVMGR56=BRKR34=24052=19980604-
08:03:3110=220Thanks.
Hi Hanno,
Thanks for your quick response.
So, take this FIX msg for example,
8=FIX 4.4^9=11^35=0^10=10^
So the BodyLength is 5 for 35=0^,
or it is 6 for ^35=0^ ?
I am not a native English and such sentence
“by counting the number of characters in the message following the BodyLength field up to” make me confused without any instance as example.
Thanks.
Have you tried to find the answer in the FIX documentation? It took me
about 30 seconds by searching for “BodyLength”. Here it is (FIX 4.4
Volume 2 FIX Session Protocol, page 4 under Data Integrity):“The message length is indicated in the BodyLength field and is verified
by counting the number of characters in the message following the
BodyLength field up to, and including, the delimiter immediately
preceding the CheckSum tag (“10=”).”Hi,
What is the field BodyLength stand for ? It is for the whole FIX
message’s length, or for the length of the latter fields within this
FIX message (does not include the first 3 fields’ length) ?I got some sample FIX 4.1 sample data from this site, but the
BodyLength field does not match to neither the whole message length or
the latter fields’ length.8=FIX.4.19=9035=049=INVMGR56=BRKR34=23952=19980604-
08:02:3110=026 8=FIX.4.19=11235=049=BRKR56=INVMGR34=24152=19980604-
08:02:36112=19980604-08:02:3610=018 8=FIX.4.19=9035=049=INVMGR56=BRKR34=24052=19980604-
08:03:3110=220Thanks.
[ original email was from Harish Kamaley - harish.kamaley@wipro.com ]
Hi Peter,
The answer to your question is “5”
Here is an e.g. of a FIX message
8=FIX.4.4^9=56^35=0^49=CLIENT^56=BROKER^34=19^52=20090903-08:16:56.387^10=167
To make you clear, I am breaking the FIX message
8=FIX.4.4^9=56^
/Counting starts from here/35=0^49=CLIENT^56=BROKER^34=19^52=20090903-08:16:56.387^/Counting ends here/
^10=167
So the bodylength will have 56 value.
Regards
Harish
Hi Hanno,
Thanks for your quick response.
So, take this FIX msg for example,
8=FIX 4.4^9=11^35=0^10=10^
So the BodyLength is 5 for 35=0^, or it is 6 for ^35=0^ ?
I am not a native English and such sentence “by counting the number of
characters in the message following the BodyLength field up to” make me
confused without any instance as example.Thanks.
Have you tried to find the answer in the FIX documentation? It took me
about 30 seconds by searching for “BodyLength”. Here it is (FIX 4.4
Volume 2 FIX Session Protocol, page 4 under Data Integrity):“The message length is indicated in the BodyLength field and is
verified by counting the number of characters in the message following
the BodyLength field up to, and including, the delimiter immediately
preceding the CheckSum tag (“10=”).”Hi,
What is the field BodyLength stand for ? It is for the whole FIX
message’s length, or for the length of the latter fields within this
FIX message (does not include the first 3 fields’ length) ?I got some sample FIX 4.1 sample data from this site, but the
BodyLength field does not match to neither the whole message length
or the latter fields’ length.8=FIX.4.19=9035=049=INVMGR56=BRKR34=23952=19980604-
08:02:3110=026 8=FIX.4.19=11235=049=BRKR56=INVMGR34=24152=19980604-
08:02:36112=19980604-08:02:3610=018 8=FIX.4.19=9035=049=INVMGR56=BRKR34=24052=19980604-
08:03:3110=220Thanks.
Hi Hanno,
Great. Got it and thanks.
Hi Peter,
The answer to your question is “5” Here is an e.g. of a FIX message
8=FIX.4.4^9=56^35=0^49=CLIENT^56=BROKER^34=19^52=20090903-
08:16:56.387^10=167To make you clear, I am breaking the FIX message
8=FIX.4.4^9=56^ /Counting starts from here/35=0^49=CLIENT^56=BROKER^34=19^52=20090903-
08:16:56.387^/Counting ends here/ ^10=167So the bodylength will have 56 value.
Regards Harish
Hi Hanno,
Thanks for your quick response.
So, take this FIX msg for example,
8=FIX 4.4^9=11^35=0^10=10^
So the BodyLength is 5 for 35=0^, or it is 6 for ^35=0^ ?
I am not a native English and such sentence “by counting the number of
characters in the message following the BodyLength field up to” make
me confused without any instance as example.Thanks.
Have you tried to find the answer in the FIX documentation? It took
me about 30 seconds by searching for “BodyLength”. Here it is (FIX
4.4 Volume 2 FIX Session Protocol, page 4 under Data Integrity):“The message length is indicated in the BodyLength field and is
verified by counting the number of characters in the message
following the BodyLength field up to, and including, the delimiter
immediately preceding the CheckSum tag (“10=”).”Hi,
What is the field BodyLength stand for ? It is for the whole FIX
message’s length, or for the length of the latter fields within
this FIX message (does not include the first 3 fields’ length) ?I got some sample FIX 4.1 sample data from this site, but the
BodyLength field does not match to neither the whole message
length or the latter fields’ length.8=FIX.4.19=9035=049=INVMGR56=BRKR34=23952=19980604-
08:02:3110=026 8=FIX.4.19=11235=049=BRKR56=INVMGR34=24152=19980604-
08:02:36112=19980604-08:02:3610=018 8=FIX.4.19=9035=049=INVMGR56=BRKR34=24052=19980604-
08:03:3110=220Thanks.
Thanks harish,
I always had the same doubt as peter , its little confusing in Fix Spec
your example made it crystal clear.
Cheers
Manish
Hi Peter,
The answer to your question is “5” Here is an e.g. of a FIX message
8=FIX.4.4^9=56^35=0^49=CLIENT^56=BROKER^34=19^52=20090903-
08:16:56.387^10=167To make you clear, I am breaking the FIX message
8=FIX.4.4^9=56^ /Counting starts from here/35=0^49=CLIENT^56=BROKER^34=19^52=20090903-
08:16:56.387^/Counting ends here/ ^10=167So the bodylength will have 56 value.
Regards Harish
Hi Hanno,
Thanks for your quick response.
So, take this FIX msg for example,
8=FIX 4.4^9=11^35=0^10=10^
So the BodyLength is 5 for 35=0^, or it is 6 for ^35=0^ ?
I am not a native English and such sentence “by counting the number of
characters in the message following the BodyLength field up to” make
me confused without any instance as example.Thanks.
Have you tried to find the answer in the FIX documentation? It took
me about 30 seconds by searching for “BodyLength”. Here it is (FIX
4.4 Volume 2 FIX Session Protocol, page 4 under Data Integrity):“The message length is indicated in the BodyLength field and is
verified by counting the number of characters in the message
following the BodyLength field up to, and including, the delimiter
immediately preceding the CheckSum tag (“10=”).”Hi,
What is the field BodyLength stand for ? It is for the whole FIX
message’s length, or for the length of the latter fields within
this FIX message (does not include the first 3 fields’ length) ?I got some sample FIX 4.1 sample data from this site, but the
BodyLength field does not match to neither the whole message
length or the latter fields’ length.8=FIX.4.19=9035=049=INVMGR56=BRKR34=23952=19980604-
08:02:3110=026 8=FIX.4.19=11235=049=BRKR56=INVMGR34=24152=19980604-
08:02:36112=19980604-08:02:3610=018 8=FIX.4.19=9035=049=INVMGR56=BRKR34=24052=19980604-
08:03:3110=220Thanks.