Introduction
What HFTFeed delivers, how a connection works and which integration to choose.
What HFTFeed is
HFTFeed is a low-latency market data feed. It streams real-time top-of-book prices, meaning the best bid and the best ask, for instruments such as currency pairs, metals, stock indices and cryptocurrencies. The feed server runs in the LD4 data center near London, and you connect to it directly over FIX 4.4.
How a connection works
- Your application opens a TCP connection to
fix-server.hftfeed.comon port9030. - It logs on with your hftfeed.com email and password and the SenderCompID assigned to your account. The server checks that your plan is active.
- It downloads the symbol list. Each symbol has a numeric key, a name such as
EURUSD, and a number of decimals. - It subscribes to the symbols it needs, by key —
1013, notEURUSD. Every symbol and its key is listed on the symbol coverage page. - From then on, the server sends a complete snapshot (bid and ask) for a symbol every time its price changes, one symbol per message, until you unsubscribe or log out. Published quotes carry a fixed spread around the venue mid, so a venue widening its spread on news moves neither the price you receive nor its spread, and an update that would repeat the previous price is not sent.
An account can have one live session at a time. If several of your programs need prices, connect once and share the data inside your own system.
Key terms
| Term | Meaning |
|---|---|
| Symbol key | The numeric id of a symbol, for example 1013. You subscribe with it, and every price update carries it. |
| Symbol name | The human-readable name, for example EURUSD. Display it; never subscribe with it. |
| Digits | The number of decimals in a symbol's prices. |
| Tick | One price update: the current best bid and best ask for one symbol, with a timestamp. |
| SenderCompID | Your account's FIX identity, shown as Quote Sender Comp ID on the Connection page. |
| Session | One logged-on FIX connection. One per account. |
Choose an integration
- .NET SDK. If you build on .NET 8 or later, install the
HFTFeed.ClientNuGet package. It signs you in, keeps the session alive, reconnects and gives you ticks as .NET objects. Start with Connect with the .NET SDK. - Your own FIX client. Any language and any FIX 4.4 engine (for example QuickFIX) can connect. The FIX protocol reference lists every message, field and rule.
Connection details
| Setting | Value |
|---|---|
| Host | fix-server.hftfeed.com |
| Port | 9030, or 9031 if your network blocks 9030 (same feed) |
| Protocol | FIX 4.4 over plain TCP (no TLS) |
| Login | Your hftfeed.com email and password |
| SenderCompID | Shown on your Connection page |
| TargetCompID | FixServer |
| SenderSubID and TargetSubID | QUOTE |
Next steps
Follow Getting started to set up your account and network, then connect with the .NET SDK or your own FIX client.