What is HFT Antenna?
HFT Antenna is a library which is designed as a solution for low latency FIX message routing. 'HFT' means high frequency trading.
HFT Antenna incorporates advantages of special Linux specific features and best message routing practices.
HFT Antenna Features
HFT Antenna FIX Engine is optimized for stable deterministic latency for routing from multiple sessions to multiple sessions. This is achieved by:
- effective utilization of CPU cores: less number of physical cores is required to support more sessions;
- usage of new socket dispatcher optimized for Solarflare OpenOnload;
- usage of new Memory Cached Message Storage which reduces latency jitter;
- usage of FIX message object pool which reduces the number of memory allocations.
Main features of HFT Antenna FIX Engine are:
Feature | Description |
---|---|
High throughput / low latency | The highest performing FIX engine in existence aimed for the cases of routing from multiple sessions to multiple sessions. See FIX Antenna HFT Benchmarks for details. |
Supports standard FIX 4.X |
|
Multiple session management |
|
Highly customizable FIX session level |
|
Security |
|
Reliability vs. performance |
|
Performance tuning |
|
Monitoring and administration |
|
Message composition API |
|
Integration | Is supplied as a shared object dynamic library(.so) for Linux |
Packaging | The package includes:
|
HFT Antenna Specifics and Limitations
The table below represents the main features in the context of a comparison of two products: FIX Antenna C++ and FIX Antenna HFT.
Feature/Product | FIX Antenna C++ | FIX Antenna HFT |
---|---|---|
Windows OS | ✓ | ✓ |
Linux OS | ✓ | ✓ |
x32 | ✓ | |
x64 | ✓ | ✓ |
FIX 4.X | ✓ | ✓ |
FIX 5.X | ✓ | |
Multiple FIX sessions | ✓ | ✓ |
Standard FIX routing (OnBehalfOf + DeliverTo) | ✓ | |
FAST | ✓ | |
FIX dialects support | ✓ | ✓ |
FIXML support | ✓ | |
All asset classes | ✓ | ✓ |
Sessions-initiators | ✓ | ✓ |
Sessions-acceptors | ✓ | ✓ |
Customizable message validation | ✓ | |
Message encryption | ✓ | |
Message "cookie" | ✓ | |
Login/password encryption | ✓ | |
Recovery after failure | ✓ | ✓ |
Persistent sessions | ✓ | ✓ |
Transient sessions | ✓ | ✓ |
Later delivery when connection is not established | ✓ | ✓ |
Reject message when connection is not established | ✓ | |
C++ API | ✓ | ✓ |
Java API | ✓ | |
.NET API | ✓ | |
FIX integrated control center | ✓ | ✓ |
Built-in support of command console (telnet and local) | ✓ | |
FIX/FIXML conversion | ✓ | |
Low latency | ✓ | ✓ |
High throughput | ✓ | ✓ |
Async logging | ✓ | |
Async and parallel processing of incoming messages | ✓ | |
Reset sequence number on each Logon (ICE mode) | ✓ | |
Ignore sequence number too low at Logon | ✓ | |
Backup connections | ✓ | |
Username and password in Logon | ✓ | ✓ |
Pre-configured to work with multiple exchanges | ✓ | |
CME Globex market data interface | ✓ | |
Out-of-band Drop Copy service | ✓ |
API's
HFT FIX Antenna provides the following main APIs for trading applications to:
- Create multiple FIX sessions (initiators and acceptors)
- Open and close FIX session
- Form LiteFixMessage message
- Parse LiteFixMessage message
- Send and receive LiteFixMessage messages
- Set sequence numbers
- Read messages from FIX session logs
See the full list of HFT FIX Antenna APIs.
FIX Antenna HFT use cases
Order Router
FIX Antenna HFT can be used as a FIX Engine in Order Routers, which main responsibility is to deliver the order from end-user to Exchange as soon as possible with minimum latency.
By its nature FIX Antenna HFT with its stable deterministic latency aims to serve routing from multiple sessions to multiple sessions and can be used in Order Router application in a most effective way.
FIX Gateway
FIX Antenna HFT can be used under the hood of the FIX Gateway designed to support hundreds of sessions with multiple users per session, to perform autentification and validation and to transmit data from the source to the application and from the application to counterparties.
The most essential parts of such FIX Gateway should be a fast session level and effective model of threads for processing incoming messages which can be fully achieved by using FIX Antenna HFT capabilities with its flexible and high-performance message processing mechanism, ability of handling spikes in load and effective utilization of CPU cores. In that way, relying on the FIX Antenna HFT FIX Engine, all the main efforts can be directed to the application level.
Pre-Trade Risk Check Module
FIX Antenna HFT is used as a FIX Engine in one of the B2BITS products - Pre-Trade Risk Check Module (RCM).
Risk Check Module performs pre-trade activities and calculates risk checks restricting actions of one or multiple traders at the same time. By their nature these pre-trade activities become an additional step for order to reach the exchange or client, which can obviously affect the latency.
Using capabilities of the FIX Antenna HFT Pre-Trade Risk Check Module ensures low latency pre-trade risk checks and order routing.
In this way Pre-Trade Risk Check Module can be used by the Exchanges in order to remove the load in terms of Risks & Limits checks and focus on other high-priority activities like order matching, market data processing, etc. In its turn, buy-side firms can also use Pre-Trade Risk Check Module being sure that all the pre-trade risk checks are performed with minimal latency impact.