The FIX Protocol is a session-layer messaging standard that defines a structured, tag-value format for encoding trade-related messages such as orders, executions, and market data. It operates over TCP/IP, establishing a persistent, bidirectional session between counterparties—typically a buy-side institution and a sell-side broker—using Logon and Logout messages to manage state. The protocol's core abstraction is the FIX Session, which enforces strict message sequencing via MsgSeqNum to guarantee ordered, once-and-only-once delivery, a critical requirement for deterministic trade execution and audit trails.
Glossary
FIX Protocol

What is FIX Protocol?
The Financial Information eXchange (FIX) Protocol is a vendor-neutral, open messaging standard for the real-time electronic communication of securities transactions between financial institutions.
FIX decouples the business logic of trading from the transport mechanism, enabling interoperability across disparate Order Management Systems (OMS) and Execution Management Systems (EMS). Each message is composed of numeric tags (e.g., 35=MsgType, 11=ClOrdID) paired with values, allowing for extensibility through custom user-defined fields. The protocol supports multiple versions, with FIX 4.4 and FIX 5.0 SP2 being the most widely adopted, the latter introducing a transport-independent session layer (FIXT) that separates the session protocol from the application-layer message encoding, facilitating migration to binary encodings like FIX SBE (Simple Binary Encoding) for low-latency, high-frequency trading environments.
Key Features of the FIX Protocol
The Financial Information eXchange (FIX) protocol is the foundational messaging standard for real-time electronic trading. Its architecture is built on a set of core features that ensure deterministic, high-speed, and reliable communication between market participants.
Session Layer Reliability
FIX operates on a dedicated session layer (Layer 5) above TCP/IP, ensuring deterministic message delivery. Each session is uniquely identified by a combination of SenderCompID and TargetCompID. The protocol uses sequence numbers on every message to detect gaps, out-of-order delivery, or duplicates. This allows for robust gap fill recovery via resend requests, guaranteeing that no trade instruction is ever lost or processed twice, which is critical for audit trails and regulatory compliance.
Strictly Typed Tag-Value Encoding
The protocol encodes data using a tag-value pair format delimited by the ASCII SOH character (0x01). Each field is represented by a numeric tag (e.g., Tag 55 = Symbol, Tag 44 = Price). This schema is strictly defined in a machine-readable FIX Data Dictionary, which specifies data types, valid value enumerations, and field dependencies. While less human-readable than JSON, this binary-adjacent format minimizes parsing overhead and bandwidth, enabling microsecond-level processing in high-frequency trading environments.
Message Catalog & Workflow States
FIX defines a finite set of message types (MsgType, Tag 35) that map to specific workflow states in a trade lifecycle. These range from pre-trade (e.g., Market Data Snapshot W, Quote Request R) to trade execution (e.g., New Order Single D, Execution Report 8) and post-trade allocation (e.g., Allocation Instruction J). This finite state machine approach ensures that both counterparties maintain a synchronized view of an order's status, preventing state mismatches that could lead to erroneous executions.
Transport Independence & FAST Protocol
While traditionally deployed over TCP/IP, the FIX session layer is transport-agnostic. For extreme low-latency scenarios, the FIX Adapted for STreaming (FAST) protocol compresses FIX messages using implicit tagging and field encoding, reducing bandwidth by over 90%. This is often used for high-volume market data feeds where full tag-value verbosity is prohibitive. The separation of session logic from the physical transport allows FIX to migrate seamlessly to newer networking technologies without changing the application logic.
Bi-Directional Heartbeating
To maintain session integrity during idle periods, FIX employs a bi-directional heartbeat mechanism. Both the initiator and acceptor independently send Heartbeat messages (MsgType 0) at negotiated intervals (HeartBtInt). If a heartbeat is not received within the grace period, the session is considered lost, triggering an automatic logon recovery sequence. This proactive health-check prevents 'zombie' connections where a silent network failure could cause a trading system to miss critical execution reports.
Custom User-Defined Fields
The protocol allows for proprietary extensions through User-Defined Fields (Tags 5000-9999). Brokerages and exchanges use these to transmit non-standard data without breaking the core parser. To avoid collisions, the FIX Trading Community registers these custom fields. This extensibility allows the protocol to adapt to novel asset classes like cryptocurrencies or complex derivatives without requiring a full version upgrade, bridging the gap between a rigid global standard and bespoke institutional requirements.
Enabling Efficiency, Speed & Accuracy
Intelligent Analysis, Decision & Execution
We build AI systems for teams that need search across company data, workflow automation across tools, or AI features inside products and internal software.
Talk to Us
Search across company data
Give teams answers from docs, tickets, runbooks, and product data with sources and permissions.
Useful when people spend too long searching or get different answers from different systems.

Automate internal workflows
Use AI to route work, draft outputs, trigger actions, and keep approvals and logs in place.
Useful when repetitive work moves across multiple tools and teams.

Add AI to products and internal tools
Build assistants, guided actions, or decision support into the software your team or customers already use.
Useful when AI needs to be part of the product, not a separate tool.
Frequently Asked Questions
Clear, technical answers to the most common questions about the Financial Information eXchange protocol, its architecture, and its role in modern electronic trading.
The Financial Information eXchange (FIX) Protocol is a non-proprietary, open-standard messaging specification designed for the real-time electronic exchange of securities transactions. It operates on a session-based, peer-to-peer model where two parties—typically a buy-side institution and a sell-side broker—establish a persistent connection identified by SenderCompID and TargetCompID. Communication occurs via a structured stream of tag-value pairs delimited by the ASCII SOH (Start of Header, \x01) character. Each message, such as a NewOrderSingle (MsgType D), contains a standardized set of fields: the instrument identifier (tag 55), side (tag 54), order quantity (tag 38), and price (tag 44). The protocol defines strict session-level recovery mechanisms using sequence numbers (tags 34 and 789) to guarantee ordered, gap-free delivery. When a connection drops, the parties perform a logon exchange (MsgType A) with ResetSeqNumFlag=Y or resend missed messages via ResendRequest (MsgType 2), ensuring no trade instruction is ever lost or duplicated.
Related Terms
Core concepts and execution mechanisms that interact with the FIX messaging layer in electronic trading infrastructure.
Market Impact Model
A quantitative model that estimates the expected price movement caused by executing a specific trade. These models decompose impact into temporary (liquidity-driven) and permanent (information-driven) components. FIX transmits the model's output via tag 211 (PegDifference) or custom user-defined fields to adjust child order aggression.
- Temporary impact decays post-trade
- Permanent impact reflects new equilibrium
- Calibrated using tick-level FIX execution data
Iceberg Order
A large single order that publicly displays only a small portion of its total quantity while keeping the remainder hidden. In FIX, this is configured using tag 210 (MaxShow) to set the displayed peak size and tag 111 (MaxFloor) for reserve logic. The hidden volume replenishes automatically as the visible portion executes.
- Minimizes signaling risk to predators
- Common in block equity and FX trading
- Requires exchange-native FIX support
Execution Management System (EMS)
A software platform enabling traders to route orders to multiple destinations, access real-time market data, and monitor execution quality. The EMS acts as a FIX engine hub, translating trader intent into FIX 4.4 or 5.0 messages and aggregating drop copies (tag 9406) for real-time P&L and risk checks.
- Manages broker FIX session connectivity
- Provides blotter with tag-level drill-down
- Integrates with OMS for allocation post-trade
Transaction Cost Analysis (TCA)
The post-trade quantitative framework that decomposes total execution costs into commissions, spreads, market impact, and opportunity cost. TCA systems consume FIX Execution Reports and Allocation Instructions (MsgType J) to reconstruct the lifecycle of every order and benchmark performance against arrival price or VWAP.
- Uses tag 31 (LastPx) and tag 32 (LastQty)
- Compares to tag 6 (AvgPx) for slippage
- Generates venue and algo performance scores
Anti-Gaming Logic
Protective mechanisms embedded in execution algorithms to detect and neutralize predatory trading patterns designed to exploit predictable order flow. These systems analyze FIX message streams for pinging (small IOC orders probing hidden liquidity), quote flickering, and layering patterns. When detected, the algo switches to randomized slicing or withdraws to a dark pool.
- Monitors tag 59 (TimeInForce) for IOC abuse
- Detects rapid cancel-replace sequences
- Adjusts child order size and frequency dynamically

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.
Partnered with leading AI, data, and software stack.
How We Work
Custom AI workflows for your Business
One-fit-all AI don't work for modern businesses. At Inferensys, we aim to understand your business & custom requirements; which we use to define most efficient agentic workflows, the data, and the tools for your business.
01
Review the use case
We understand the task, the users, and where AI can actually help.
Read more02
Pick the right approach
We define what needs search, automation, or product integration.
Read more03
Build the first useful version
We implement the part that proves the value first.
Read more04
Improve from there
We add the checks and visibility needed to keep it useful.
Read moreThe first call is a practical review of your use case and the right next step.
Talk to Us