Basic structure of FIX message

29 Mar 2024

Introduction to the FIX Protocol

In the fast-paced world of financial trading, efficient and reliable communication is crucial. This is where the Financial Information eXchange (FIX) protocol comes into play. FIX is a standardized protocol that facilitates real-time electronic communication between financial institutions, making trading processes smoother and more efficient. Initially developed in 1992, FIX has become the industry standard for electronic trading, ensuring seamless information exchange across various platforms and systems.

What is the FIX Protocol?

The FIX protocol is a series of messaging specifications designed to streamline the communication of trade-related information. It covers a broad range of activities, from pre-trade communications and order submissions to post-trade processing. FIX messages are composed of a series of key-value pairs, known as “tags,” which convey specific pieces of information.

Basic Structure of FIX Messages

A FIX message consists of a header, body, and trailer, each containing various tags. Tags are represented as integers, and each tag has a corresponding value that conveys specific information about the trade.

Key Tags and Their Meanings

Let’s explore some of the fundamental tags used in FIX messages and what they represent:

1. Tag 8: BeginString

2. Tag 35: MsgType

3. Tag 49: SenderCompID

4. Tag 56: TargetCompID

5. Tag 34: MsgSeqNum

6. Tag 52: SendingTime

7. Tag 55: Symbol

8. Tag 54: Side

9. Tag 38: OrderQty

10. Tag 44: Price

11. Tag 10: CheckSum

Putting It All Together

Here’s a simple example of a FIX message for a new order:

8=FIX.4.2|35=D|49=CLIENT1|56=BROKER1|34=2|52=20230713-14:30:00|55=AAPL|54=1|38=100|44=150.50|10=123|

This message can be broken down as follows:

Conclusion

The FIX protocol is a cornerstone of modern electronic trading, enabling efficient and reliable communication between financial institutions. Understanding the basic tags and their meanings is essential for anyone involved in the trading industry. By mastering these key elements, you can ensure smooth and accurate information exchange, ultimately enhancing trading operations.