Brokeret LogoDocs
FIX API / FIX 4.4/Overview

Overview

Introduction to the FIX 4.4 protocol, connection details, and supported message types.

What is FIX 4.4?

The Financial Information eXchange (FIX) Protocol version 4.4 is an industry-standard electronic messaging protocol used for real-time exchange of securities transaction information. Brokeret provides a FIX 4.4 gateway that enables institutional clients, liquidity providers, and trading systems to connect directly for market data and order execution.

Connection Details

SettingValue
FIX VersionFIX.4.4
TransportTCP/IP with optional TLS encryption
Default Port5001 (price) / 5002 (trade)
Heartbeat Interval30 seconds (configurable)
Message EncodingASCII, SOH (0x01) delimiter
Sequence NumbersPersistent across sessions

Session Architecture

Brokeret uses a dual-session architecture:

SessionPurposePort
Price SessionMarket data subscription and streaming quotes5001
Trade SessionOrder submission, execution, and management5002

Both sessions authenticate independently and maintain separate sequence numbers.

Message Structure

Every FIX message consists of three parts:

Header (Required Fields)

TagFieldDescription
8BeginStringAlways FIX.4.4
9BodyLengthLength of message body
35MsgTypeMessage type identifier
49SenderCompIDSender's identifier
56TargetCompIDTarget's identifier
34MsgSeqNumMessage sequence number
52SendingTimeUTC timestamp (YYYYMMDD-HH:MM:SS.sss)

Body

Contains message-specific fields. See individual message type documentation.

Trailer

TagFieldDescription
10CheckSumThree-character checksum

Supported Message Types

Session-Level Messages

MsgTypeNameDirectionDescription
ALogonBothInitiate session, authenticate
5LogoutBothGraceful session termination
0HeartbeatBothConnection keep-alive
1TestRequestBothForce heartbeat response
2ResendRequestBothRequest retransmission
4SequenceResetBothReset sequence numbers
3RejectAcceptorSession-level rejection

Application Messages — Market Data

MsgTypeNameDirectionDescription
VMarketDataRequestClient → ServerSubscribe/unsubscribe to quotes
WMarketDataSnapshotFullRefreshServer → ClientFull quote snapshot
XMarketDataIncrementalRefreshServer → ClientIncremental quote update
YMarketDataRequestRejectServer → ClientSubscription rejected

Application Messages — Trading

MsgTypeNameDirectionDescription
DNewOrderSingleClient → ServerSubmit a new order
FOrderCancelRequestClient → ServerCancel an existing order
GOrderCancelReplaceRequestClient → ServerModify an existing order
8ExecutionReportServer → ClientOrder status and fill updates
9OrderCancelRejectServer → ClientCancel/replace rejected
jBusinessMessageRejectServer → ClientApplication-level rejection

Authentication

Authentication occurs during the Logon (A) message exchange:

  1. Client sends Logon with SenderCompID (Tag 49), Password (Tag 554), and optionally Username (Tag 553)
  2. Server validates credentials against the configured accounts
  3. Server responds with Logon acknowledgment or Logout with rejection reason
📧
NoteContact the Brokeret team to obtain your SenderCompID, TargetCompID, and credentials.

Timestamp Format

All timestamps use UTC in the format:

YYYYMMDD-HH:MM:SS.sss

Example: 20260312-14:30:15.123

Next Steps