Inferensys

Glossary

FIX Protocol

The Financial Information eXchange (FIX) protocol is an open, industry-standard messaging specification for the real-time electronic communication of securities transactions, including trade orders, executions, and market data, between financial institutions.
Data scientist building training data pipeline on laptop, data preprocessing visible, technical workspace.
FINANCIAL INFORMATION EXCHANGE

What is FIX Protocol?

The FIX Protocol is the industry-standard, session-layer messaging format for real-time electronic communication of securities transactions, orders, and market data between financial institutions.

The Financial Information eXchange (FIX) Protocol is a non-proprietary, open-standard message specification that defines a structured, tag-value format for communicating trade orders, execution reports, and market data. Originating in 1992 for equity trading between Fidelity and Salomon Brothers, it has evolved into the universal lingua franca for pre-trade, trade, and post-trade messaging across all asset classes, including equities, fixed income, derivatives, and foreign exchange.

FIX operates at the session layer, managing a persistent, bidirectional connection between a buy-side initiator and a sell-side acceptor with guaranteed message delivery via sequence numbers and heartbeats. Its architecture decouples business logic from transport, supporting both the traditional FIX TagValue encoding over TCP and the modern FIX Orchestra machine-readable rules of engagement, enabling deterministic order routing and straight-through processing.

PROTOCOL ARCHITECTURE

Key Features of the FIX Protocol

The Financial Information eXchange (FIX) protocol is the backbone of electronic trading, providing a standardized, session-based messaging framework for communicating orders, executions, and market data between financial institutions.

01

Session Layer & Message Recovery

FIX operates on a session-based transport layer that guarantees reliable, ordered delivery of messages between counterparties. Each session is identified by a unique combination of SenderCompID and TargetCompID. The protocol uses sequence numbers on every message to detect gaps, duplicates, or out-of-order delivery. If a gap is detected, the receiving party requests a ResendRequest, and the sender retransmits the missing messages from its persistent message store. This session-level recovery mechanism ensures that no trade instruction is ever lost, even during network disruptions, making FIX suitable for mission-critical order flow.

1992
Year Introduced
02

Tag-Value Encoding

FIX messages are encoded as a flat sequence of tag=value pairs delimited by the SOH (Start of Header) character (ASCII 0x01). Each field is identified by a numeric tag defined in the FIX dictionary. For example:

  • Tag 35 = MsgType (e.g., D for New Order Single, 8 for Execution Report)
  • Tag 55 = Symbol (e.g., AAPL)
  • Tag 54 = Side (1=Buy, 2=Sell)
  • Tag 44 = Price This simple, human-readable structure enables straightforward parsing and debugging while remaining compact enough for high-throughput environments. The protocol defines hundreds of standard tags covering equities, fixed income, FX, and derivatives.
03

Standard Message Types

The FIX protocol defines a comprehensive set of message types that cover the full trade lifecycle:

  • New Order Single (MsgType D): Initiates a new order with symbol, side, quantity, and price
  • Execution Report (MsgType 8): Confirms order receipt, fills, cancellations, or rejections
  • Order Cancel Request (MsgType F): Requests cancellation of an existing order
  • Market Data Request (MsgType V): Subscribes to real-time streaming market data
  • Market Data Snapshot (MsgType W): Provides a point-in-time view of order book depth
  • Allocation Instruction (MsgType J): Communicates post-trade allocation details to clearing brokers Each message type has a strict, versioned specification of required and optional fields.
04

FIX Engine Architecture

A FIX engine is the software component that manages the protocol's session layer, message parsing, and validation. Key responsibilities include:

  • Session Management: Handling Logon (MsgType A) and Logout (MsgType 5) with heartbeat monitoring (MsgType 0) to detect stale connections
  • Message Validation: Enforcing required fields, data types, and conditional logic per the FIX specification before forwarding to downstream systems
  • Sequence Number Synchronization: Tracking inbound and outbound sequence numbers to guarantee exactly-once delivery semantics
  • Message Persistence: Writing all messages to a durable store for recovery and audit trail compliance Production-grade FIX engines handle millions of messages per day with sub-millisecond latency.
05

FIX Protocol Versions & FIXML

The protocol has evolved through multiple versions, with FIX 4.2, FIX 4.4, and FIX 5.0 SP2 being the most widely deployed in production. FIX 5.0 introduced a transport independence layer, decoupling the application messages from the session transport. The FIX Trading Community also defines FIXML, an XML-based representation of FIX messages used primarily for post-trade processing and regulatory reporting. While FIXML is more verbose, it enables schema-based validation and easier integration with non-trading enterprise systems. Most high-performance trading systems continue to use the compact tag-value encoding over TCP.

06

FIX Orchestra & Machine-Readable Rules

FIX Orchestra is a modern initiative to express FIX protocol specifications as machine-readable metadata files. Instead of relying on static PDF documentation, Orchestra defines service offerings, message structures, valid values, and workflow rules in a standardized XML or JSON format. This enables:

  • Automated code generation for FIX engine implementations
  • Dynamic message validation against the exact counterparty's rules of engagement
  • Onboarding automation by programmatically negotiating session parameters Orchestra reduces the manual effort and error rate associated with interpreting traditional FIX specification documents during integration.
FIX PROTOCOL ESSENTIALS

Frequently Asked Questions

Clear, technically precise answers to the most common questions about the Financial Information eXchange protocol, its mechanics, and its role in modern electronic trading infrastructure.

The Financial Information eXchange (FIX) Protocol is an open, non-proprietary messaging standard specifically designed for the real-time electronic exchange of securities transaction data between financial institutions. It operates as a session-layer protocol over TCP/IP, defining a structured, tag-value pair format where each message is composed of numerically tagged fields separated by the ASCII SOH (Start of Header, 0x01) delimiter. A FIX session begins with a Logon (MsgType A) message, proceeds through a sequence-numbered exchange of application messages like NewOrderSingle (MsgType D) and ExecutionReport (MsgType 8), and terminates with a Logout (MsgType 5). The protocol's core mechanism relies on a persistent, bi-directional connection that guarantees ordered delivery and recovery through sequence number synchronization, making it the definitive standard for pre-trade, trade, and post-trade communication across equities, fixed income, derivatives, and foreign exchange markets.

Prasad Kumkar

About the author

Prasad Kumkar

CEO & MD, Inference Systems

Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.

His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.