FIX API trading means connecting to a broker or liquidity provider using the Financial Information eXchange (FIX) protocol, the standard messaging format used by banks, brokers and funds for prices and orders. A FIX connection usually has two sessions: a price (market data) session that streams quotes and a trade session that sends orders and receives execution reports. Brokers use FIX to connect to liquidity providers, and they offer FIX access to professional clients such as fund managers, algorithmic traders and other brokers who need fast, direct, platform-independent connectivity.
Looking for a FIX API trading solution? Institutional FIX connectivity for liquidity and professional clients.
Retail traders use apps and terminals. Institutions use FIX. If you run a brokerage, FIX matters in two ways: it is often how you connect to your liquidity providers, and it is a product you can offer to professional clients who want direct access without MetaTrader. This guide explains how FIX API trading works and when it is worth setting up.
What is the FIX protocol?
FIX (Financial Information eXchange) is an open messaging standard for trading. Messages are made of numbered tag=value fields, for example the symbol, side, quantity and price. Common versions in FX are FIX 4.2 and FIX 4.4. Because the format is standard, institutions can connect to many counterparties with the same software.
How a FIX connection works
- Sessions: the client and server open a session with a logon message and keep it alive with heartbeats. Each message is numbered, so missed messages can be resent.
- Price session: the client subscribes to symbols and receives streaming quotes and, where available, market depth.
- Trade session: the client sends new orders, amendments and cancellations, and receives execution reports with fills, partial fills or rejections.
- Connectivity: usually over the internet with TLS encryption or VPN, or by cross-connect inside the same data centre for the lowest latency.
FIX vs REST and WebSocket APIs
| FIX API | REST / WebSocket API | |
|---|---|---|
| Typical users | Banks, funds, algo firms, brokers | App developers, retail algo traders, fintechs |
| Latency | Very low, persistent sessions | Low to moderate |
| Standardisation | Industry standard across counterparties | Different for each provider |
| Ease of development | Needs a FIX engine and specialist knowledge | Easier with common web tools |
| Best for | High-volume, institutional execution | Apps, dashboards and lighter automation |
When does a broker need FIX?
- Connecting to liquidity providers: most LPs offer FIX connectivity, often through your liquidity bridge.
- Serving professional clients: fund managers, family offices and algo traders often refuse to trade through retail terminals.
- Offering liquidity to other brokers: if you become a liquidity source for smaller brokers, FIX is how they will connect.
- Building custom platforms: your own front end can connect to the trading back end through FIX.
Offering FIX access alongside MT5
Brokers on MT5 can give professional clients FIX access through a FIX gateway connected to the trading server or bridge. Client trades then appear in the same accounts, risk tools and reports as MT5 trades. This means you can serve retail clients on MT5 and institutional clients over FIX from one back office, with separate groups, pricing and commission.
What to prepare
- A FIX specification document (message types, tags, symbols and session times) for your clients.
- A test (UAT) environment where clients can certify their connection.
- Credentials, IP allow-lists and encryption for each client.
- Pre-trade risk limits per FIX account: maximum order size, position limits and credit.
- Monitoring for session drops, rejected orders and latency.
For server location and latency, read MetaTrader server hosting for brokers.
