Skip to content
  • There are no suggestions because the search field is empty.

What is a FIX message?

How a FIX message is built, and what the header, body and trailer do.

A FIX message is a string of tag=value fields. Trading systems exchange FIX messages to log on, send orders and report fills.


Each field is a number, an equals sign and a value, such as 35=D. The number is the tag, and it says what the field means. Fields are separated by the non-printing SOH character (0x01), which logs and tools usually show as | or ^.


Every message has three parts:

  • Header: starts with BeginString (8), BodyLength (9) and MsgType (35). MsgType says what the message is, for example 35=D for New Order Single or 35=8 for Execution Report.
  • Body: the fields for that message type, such as Symbol (55), Side (54) and OrderQty (38).
  • Trailer: ends with CheckSum (10), a three-digit check calculated from the bytes before it.

Session messages, such as Logon, Heartbeat and Resend Request, keep the connection running and in sequence. Application messages, such as New Order Single and Execution Report, carry the trading business.


A value only makes sense with its tag: 1 means Buy in Side (54) but Partially filled in OrdStatus (39). A tag can appear more than once only inside a repeating group.

FIX also has binary encodings and a faster session layer, for cases where tag=value is too slow or too large:

To read a raw message, paste it into the free OnixS FIX Parser. To look up any tag or message type, use the OnixS FIX Dictionary. For background on the protocol itself, see the FIX Protocol overview.

 

 

 

Documentation: FIX Message on ref.onixs.biz
Try it: Request a free 30-day evaluation
Questions? Email sales@onixs.biz