Imported from previous forum
Hi,
Does FIX protocol support sending binary content over FIX messages? If yes can somebody give me some information on how it is done?
Thanks
Best Regards,
Hiranya
[ original email was from Kevin Houstoun - kevinh@altkb.com ]
Hiranya
There are a number of fields in FIX that support binary data. These are aalways pairs of fields that come in order. The first field tells you the lenght of the data in the second field allowing your parser to read ahead that number of bytes skipping over any embedded seperators. An example is Tag 95 and 96, RawDataLength and RawData resprectively.
This behaviour is described under Volume 1 of the later versions of the spec and in all versions under the heading “Common FIX Syntax Rules”.
Cheers
Kevin Houstoun
Hi,
Does FIX protocol support sending binary content over FIX messages? If
yes can somebody give me some information on how it is done?Thanks
Best Regards, Hiranya
Thanks Kevin.
Is it possible for a field containing binary data to appear in somewhere other than the message body (like in the message header)?
Best Regards,
Hiranya
Hiranya
There are a number of fields in FIX that support binary data. These are
aalways pairs of fields that come in order. The first field tells you
the lenght of the data in the second field allowing your parser to read
ahead that number of bytes skipping over any embedded seperators. An
example is Tag 95 and 96, RawDataLength and RawData resprectively.This behaviour is described under Volume 1 of the later versions of the
spec and in all versions under the heading “Common FIX Syntax Rules”.Cheers Kevin Houstoun
Hi,
Does FIX protocol support sending binary content over FIX messages? If
yes can somebody give me some information on how it is done?Thanks
Best Regards, Hiranya
[ original email was from Kevin Houstoun - kevinh@altkb.com ]
The standard 44 header contains two fields that are used like this (90,91) SecureDataLength and SecureData and 212, 213 XmlDataLen and XmlData. The main uses of these are (90, 91) as part of FIX’s security approach if encryption is required, nb this practice has now been superceded and for the exchange of (212,213) XML data.
Thanks Kevin. Is it possible for a field containing binary data to
appear in somewhere other than the message body (like in the
message header)?Best Regards, Hiranya
Hiranya
There are a number of fields in FIX that support binary data. These
are aalways pairs of fields that come in order. The first field tells
you the lenght of the data in the second field allowing your parser to
read ahead that number of bytes skipping over any embedded seperators.
An example is Tag 95 and 96, RawDataLength and RawData resprectively.This behaviour is described under Volume 1 of the later versions
of the spec and in all versions under the heading “Common FIX
Syntax Rules”.Cheers Kevin Houstoun
Hi,
Does FIX protocol support sending binary content over FIX messages?
If yes can somebody give me some information on how it is done?Thanks
Best Regards, Hiranya