TradeLabs AILearn

FIX Protocol

FIX is the standard messaging protocol for institutional trading. Learn how FIX sessions, messages and tags work, a sample order message and when traders use FIX.

Intermediate3 min readUpdated 3 Oct 2026
Markdown
Lesson 12 of 27

The Financial Information eXchange protocol, known as FIX, is the standard language that banks, brokers, funds and exchanges use to send orders and execution reports to each other. It began in 1992 as a project between Fidelity Investments and Salomon Brothers to replace phone calls for equity trading, and it is now maintained by the nonprofit FIX Trading Community. FIX is used across equities, futures, foreign exchange and fixed income worldwide. Most retail traders never touch it directly, but it sits behind much of the order flow they interact with.

Why FIX exists#

Before FIX, each broker and client connection needed its own custom format. FIX gave the industry a common vocabulary: a "new order" or "execution report" means the same thing whichever firms are talking. That makes it far easier for a fund to connect to many brokers, or a broker to many venues.

How a FIX message looks#

A FIX message is a series of tag and value pairs. Each tag is a number with a defined meaning, and pairs are separated by a special SOH character, shown here as a vertical bar.

8=FIX.4.4|9=148|35=D|49=CLIENT1|56=BROKER1|34=215|52=20261003-14:30:01.123|
11=ORD-20261003-0007|55=AAPL|54=1|38=100|40=2|44=185.50|59=0|60=20261003-14:30:01.120|10=072|
TagNameValue here
8BeginStringFIX version 4.4
35MsgTypeD = New Order Single
49 / 56Sender / TargetWho is talking to whom
34MsgSeqNumMessage sequence number 215
11ClOrdIDClient's own order ID
55SymbolAAPL
54Side1 = Buy
38OrderQty100
40OrdType2 = Limit
44Price185.50
59TimeInForce0 = Day
10CheckSumIntegrity check

The body length and checksum values above are illustrative. FIX engines calculate them automatically.

Key message types#

MsgTypeMessageDirection
ALogonBoth
0HeartbeatBoth
DNew Order SingleClient to broker
FOrder Cancel RequestClient to broker
GOrder Cancel/Replace RequestClient to broker
8Execution ReportBroker to client: acknowledgements, fills, rejects
3RejectEither side, for malformed messages

Sessions and sequence numbers#

A FIX session starts with a logon and keeps running with heartbeats. Every message carries a sequence number. If a side sees a gap, it sends a resend request and the missing messages are replayed. This makes FIX reliable: an order or fill cannot silently disappear. See Sequence Numbers, Dropped Packets and Out-of-Order Messages.

Who uses FIX#

FIX versus other options#

FIXREST and WebSocket APIsNative binary protocols
UsersInstitutionsRetail and cryptoLatency sensitive firms
FormatText tag and valueJSONCompact binary
SpeedFastModerateFastest
StandardisationVery highVenue specificVenue specific

Getting started with FIX#

Open source engines such as QuickFIX (with versions for C++, Java and Python) handle sessions, sequence numbers and parsing. Brokers that offer FIX usually provide a test environment and a specification document listing the tags they support. See Working With Exchange and Broker APIs.

Frequently asked questions#

What is the FIX protocol?#

A standard messaging protocol that financial firms use to send orders, cancellations and execution reports electronically.

Who created FIX?#

It started in 1992 as a project between Fidelity Investments and Salomon Brothers and is now maintained by the FIX Trading Community.

Do retail traders use FIX?#

Rarely. Most use broker REST or WebSocket APIs, though some brokers offer FIX to active traders.

Next, learn what level 2 data shows in Market Data Levels: Level 1, 2 and 3.

Check your understanding

3 quick questions on this lesson. Get them all right to finish it.

Turn on JavaScript to take the quiz.

Finished this lesson?Sign in to save your progress across devices.
Next lessonMarket Data Levels: Level 1, 2 and 3Level 2 data shows bids and offers at multiple prices beyond the best quote. Learn level 1, 2 and 3 data, how to read depth, its limits and how traders use it.

Mentioned in