FIX Protocol

Financial Information eXchange (FIX) protocol connectivity for institutional trading on LX

FIX Protocol

Contact: [email protected] | +1-833-LUX-TRADE | FIX Certification Portal

Overview

LX provides full FIX protocol support for institutional clients requiring standardized electronic trading connectivity. Our FIX implementation enables seamless integration with existing trading infrastructure, order management systems (OMS), and execution management systems (EMS).

Supported FIX Versions

VersionStatusUse CaseSpecification
FIX 4.2SupportedLegacy systems, simple order flowFIX 4.2 Spec
FIX 4.4RecommendedStandard institutional connectivityFIX 4.4 Spec
FIX 5.0 SP2SupportedAdvanced features, FIXMLFIX 5.0 SP2 Spec
FIXT 1.1SupportedTransport layer for FIX 5.0FIXT 1.1 Spec

Recommendation: Use FIX 4.4 for new integrations. It provides the best balance of feature support, industry adoption, and implementation simplicity.

Architecture

+------------------------------------------------------------------+
|                     LX FIX ARCHITECTURE                       |
+------------------------------------------------------------------+
|                                                                    |
|  CLIENT INFRASTRUCTURE                                             |
|  +--------------------+    +--------------------+                  |
|  |  Order Management  |    |  Execution Mgmt    |                  |
|  |  System (OMS)      |    |  System (EMS)      |                  |
|  +----------+---------+    +----------+---------+                  |
|             |                         |                            |
|             +------------+------------+                            |
|                          |                                         |
|                          v                                         |
|  +----------------------------------------------------------+     |
|  |                    FIX ENGINE                             |     |
|  |  QuickFIX/J | QuickFIX/n | Custom Implementation          |     |
|  +----------------------------------------------------------+     |
|                          |                                         |
|                          | FIX 4.4 / TCP-TLS                       |
|                          |                                         |
+------------------------------------------------------------------+
|                          v                                         |
|  +----------------------------------------------------------+     |
|  |                 LX FIX GATEWAY                        |     |
|  |  +----------+  +----------+  +----------+  +----------+  |     |
|  |  | Session  |  | Message  |  | Order    |  | Market   |  |     |
|  |  | Manager  |  | Router   |  | Router   |  | Data     |  |     |
|  |  +----------+  +----------+  +----------+  +----------+  |     |
|  +----------------------------------------------------------+     |
|                          |                                         |
|                          v                                         |
|  +----------------------------------------------------------+     |
|  |              LX MATCHING ENGINE                       |     |
|  |                   487ns Latency                           |     |
|  +----------------------------------------------------------+     |
|                                                                    |
+------------------------------------------------------------------+

Connection Endpoints

Production

RegionPrimaryBackupPort
US Eastfix.lux.networkfix-dr.lux.network5001
EU Westfix-eu.lux.networkfix-eu-dr.lux.network5001
APACfix-ap.lux.networkfix-ap-dr.lux.network5001

Sandbox (Testing)

EnvironmentEndpointPort
Sandboxfix-sandbox.lux.network5001
Certificationfix-cert.lux.network5001
UATfix-uat.lux.network5001

Session Configuration

# Sample QuickFIX configuration
[DEFAULT]
ConnectionType=initiator
ReconnectInterval=30
HeartBtInt=30
StartTime=00:00:00
EndTime=23:59:59
UseDataDictionary=Y
DataDictionary=FIX44.xml

[SESSION]
BeginString=FIX.4.4
SenderCompID=YOUR_SENDER_ID
TargetCompID=LXDEX
SocketConnectHost=fix.lux.network
SocketConnectPort=5001
SSLEnable=Y
SSLProtocols=TLSv1.2,TLSv1.3

Message Flow

Order Lifecycle

Client                          LX FIX Gateway
   |                                    |
   |  Logon (A)                         |
   |----------------------------------->|
   |                                    |
   |  Logon (A) - Confirmed             |
   |<-----------------------------------|
   |                                    |
   |  NewOrderSingle (D)                |
   |----------------------------------->|
   |                                    |
   |  ExecutionReport (8) - New/Ack     |
   |<-----------------------------------|
   |                                    |
   |  ExecutionReport (8) - Filled      |
   |<-----------------------------------|
   |                                    |
   |  Heartbeat (0) <---------------->  | (every 30s)
   |                                    |
   |  Logout (5)                        |
   |----------------------------------->|
   |                                    |
   |  Logout (5) - Confirmed            |
   |<-----------------------------------|

Supported Message Types

Session Level

MsgTypeNameDirectionDescription
0HeartbeatBothKeep-alive message
1TestRequestBothRequest heartbeat
2ResendRequestBothRequest message retransmission
3RejectBothSession-level reject
4SequenceResetBothReset sequence numbers
5LogoutBothTerminate session
ALogonBothEstablish session

Application Level - Orders

MsgTypeNameDirectionDescription
DNewOrderSingleClient -> LXSubmit new order
FOrderCancelRequestClient -> LXCancel order
GOrderCancelReplaceRequestClient -> LXModify order
HOrderStatusRequestClient -> LXQuery order status
8ExecutionReportLX -> ClientOrder acknowledgment, fill, reject
9OrderCancelRejectLX -> ClientCancel/replace rejection
jBusinessMessageRejectBothBusiness logic rejection

Application Level - Market Data

MsgTypeNameDirectionDescription
VMarketDataRequestClient -> LXSubscribe to market data
WMarketDataSnapshotFullRefreshLX -> ClientFull book snapshot
XMarketDataIncrementalRefreshLX -> ClientBook updates
YMarketDataRequestRejectLX -> ClientSubscription rejection

Application Level - Drop Copy

MsgTypeNameDirectionDescription
AETradeCaptureReportLX -> ClientTrade notification
ADTradeCaptureReportRequestClient -> LXRequest trade history
AQTradeCaptureReportRequestAckLX -> ClientRequest acknowledgment

Quick Start

1. Obtain Credentials

Contact institutional sales to receive:

  • SenderCompID
  • TargetCompID
  • API credentials for authentication
  • FIX data dictionary (customized)

2. Configure Session

// QuickFIX/J Example
SessionSettings settings = new SessionSettings("fix-config.cfg");
MessageStoreFactory storeFactory = new FileStoreFactory(settings);
LogFactory logFactory = new FileLogFactory(settings);
MessageFactory messageFactory = new DefaultMessageFactory();
Application application = new LXDEXApplication();

Initiator initiator = new SocketInitiator(
    application,
    storeFactory,
    settings,
    logFactory,
    messageFactory
);

initiator.start();

3. Send Test Order

// Create NewOrderSingle
NewOrderSingle order = new NewOrderSingle(
    new ClOrdID("ORD-" + System.currentTimeMillis()),
    new Side(Side.BUY),
    new TransactTime(),
    new OrdType(OrdType.LIMIT)
);

order.set(new Symbol("BTC-USD"));
order.set(new OrderQty(1.0));
order.set(new Price(50000.00));
order.set(new TimeInForce(TimeInForce.DAY));

Session.sendToTarget(order, sessionID);

Performance Specifications

MetricValue
Gateway Latency< 50 microseconds
Message Processing< 10 microseconds
Max Messages/Second100,000
Max Sessions/Client10
Max Orders/Second10,000
Heartbeat Interval30 seconds (configurable)

Security Requirements

RequirementSpecification
TransportTLS 1.2 or TLS 1.3 required
AuthenticationSenderCompID + Password + IP whitelist
EncryptionAES-256-GCM
CertificateClient certificate optional
IP WhitelistRequired for production

Documentation Sections

  • Quick Start: Connect in 15 minutes with step-by-step guide
  • Sessions: Session management, logon, heartbeat, logout
  • Orders: NewOrderSingle, Cancel, Modify messages
  • Execution Reports: Fills, rejects, and order status updates
  • Market Data: Subscribe to real-time market data via FIX
  • Drop Copy: Trade capture and reporting
  • Tag Reference: Complete FIX tag documentation
  • Testing: Certification process and testing tools
  • Examples: Sample messages and code examples

Support

ChannelContact
FIX Technical Support[email protected]
FIX Certification[email protected]
24/7 Trading Desk+1-833-LUX-TRADE
Status Pagehttps://status.lux.network/fix