TL;DR:
- Each API dealer on Kraken routes to the identical spot and derivatives buying and selling engines. What differs is the path and the latency.
- Cloud connectivity is offered to each particular person and institutional merchants. Hosted colocation, additionally accessible to each, is obtainable through a supplier subscription. Direct colocation, a cross-connect to Kraken’s infrastructure, is offered to institutional VIP purchasers solely and requires particular {qualifications}.
- For institutional merchants, devoted personal community routes are additionally accessible between main international hubs.
New to Kraken API Unlocked? Learn blogs 1-4 right here.
Each API dealer reaches a degree the place they ask the identical query: is my connection quick sufficient, or is latency costing me an edge?
For particular person merchants working systematic methods, cloud connectivity is generally ample, and understanding why is as helpful as realizing when that stops being true. For institutional merchants, high-frequency buying and selling companies, market makers, and algorithmic desks, the reply is usually that the hole between the place they’re and the place they could possibly be is significant, and the distinction has a direct price.
Does latency truly have an effect on your buying and selling technique on Kraken?
Quicker execution means much less market impression, fewer opposed fills, and extra management over when and the way your orders land. The query is just not whether or not latency issues. It does for each dealer. The true query is how a lot it issues in your particular technique, and whether or not decreasing it might meaningfully change your outcomes.
For some methods, the reply is sure, decisively. Institutional merchants working latency-sensitive execution, high-frequency buying and selling companies and market makers (particularly), have to replace and cancel orders sooner than different members can commerce in opposition to stale costs. The window between a market transfer and a stale order being hit is slender at aggressive venues.
For methods like pattern following, rebalancing, and systematic macro, the standard of your knowledge, sign, and danger administration will decide outcomes greater than incremental beneficial properties in execution pace.
The identical precept applies to particular person API merchants. In case your technique depends on reacting to market occasions rapidly, even at average frequency, then it’s price measuring your present latency and establishing a latency baseline.
What connectivity choices does Kraken supply for low-latency buying and selling?
Cloud connectivity — particular person and institutional merchants
Join through public endpoints from an AWS cloud atmosphere in London. IP whitelisting is offered for extra safety. For many particular person API merchants working methods that aren’t latency-critical, that is satisfactory.
Hosted colocation — particular person and institutional merchants
Kraken works with colocation suppliers whose infrastructure is on the identical campus as Kraken’s buying and selling infrastructure. Out there to each particular person and institutional merchants, together with market makers and high-frequency buying and selling companies, through a subscription with a colocation supplier.
Devoted international community routes — institutional merchants
For institutional merchants, hedge funds, buying and selling companies, and high-frequency buying and selling operations, devoted personal community routes can be found between main international hubs. These are personal, devoted connections moderately than shared web routes. Contact your Kraken Relationship Supervisor for particulars.
Direct colocation — institutional VIP purchasers solely
Direct colocation gives a bodily cross-connect to Kraken’s buying and selling infrastructure. It’s designed for institutional merchants, high-frequency buying and selling companies and market makers particularly, who wish to retain management of their infrastructure and have already got a presence within the facility.
Entry requires institutional VIP shopper standing, a signed NDA, and current or deliberate infrastructure in Equinix London. To start the onboarding course of, contact your Kraken Relationship Supervisor.
Which API protocol must you use for low-latency buying and selling on Kraken?
Connectivity tier and API protocol selection are associated, however they’re separate choices. Kraken affords three API protocols: REST, WebSocket, and FIX 4.4.
REST API covers market knowledge, account knowledge, buying and selling, funding, and associated features throughout each Spot and Futures. It fits portfolio queries, periodic order placement, and account workflows. For real-time streaming or session-based execution, use WebSocket or FIX
WebSocket v2 is the overall beneficial protocol for many API merchants. It gives real-time order entry, market knowledge streaming, L3 guide entry, and account updates over a single persistent connection.
FIX 4.4 is constructed for institutional merchants, high-frequency buying and selling companies, market makers, and algorithmic buying and selling desks that require deterministic message sequencing and session-based danger controls.
FIX makes use of a sticky routing mannequin the place every session is sure to a particular FIX Gateway occasion, and each message follows the identical path to the buying and selling engine, preserving message order. That is distinct from WebSocket, the place connections are load-balanced and two sequential messages could observe totally different paths to the buying and selling engine’s inbound queue. The API Unlocked episode on FIX 4.4 covers this intimately.
How do you get colocation entry on Kraken?
- For cloud connectivity, particular person and institutional merchants can hook up with Kraken’s public endpoints.
- For hosted colocation, accessible to each particular person and institutional merchants, go to the connectivity information to see accessible suppliers and get began.
- For devoted international community routes, institutional merchants ought to contact their Kraken Relationship Supervisor.
- For direct colocation, institutional merchants ought to contact their Kraken Relationship Supervisor to start the onboarding course of. Entry requires institutional VIP shopper standing, a signed NDA, and infrastructure in Equinix London.
FAQ
Does latency matter for API buying and selling on Kraken?
Quicker execution means much less market impression and extra management over how your orders land. How a lot it issues depends upon your technique. Institutional merchants working latency-sensitive execution, high-frequency buying and selling companies, market makers and arbitrage desks are most affected. For many particular person API merchants working methods that aren’t latency-critical, cloud connectivity is usually ample.
What connectivity choices does Kraken supply?
Cloud connectivity through public endpoints , hosted colocation by means of colocation suppliers, devoted international community routes for institutional merchants and direct colocation for institutional VIP purchasers with particular necessities.
Do all API merchants hook up with the identical buying and selling engines on Kraken?
Sure, particular person and institutional merchants alike path to the identical spot and derivatives buying and selling engines. What differs is the trail to these engines, the ensuing latency, and the entry necessities for every tier.
Who can entry colocation on Kraken?
Hosted colocation is offered to each particular person and institutional merchants, together with market makers and high-frequency buying and selling companies, through a subscription with a colocation supplier. Go to the connectivity information to see accessible choices. Direct colocation requires institutional VIP shopper standing, a signed NDA, and current or deliberate infrastructure in Equinix London, contact your Kraken Relationship Supervisor to start the method.
What API protocol ought to I take advantage of for low-latency buying and selling on Kraken?
WebSocket v2 is the overall beneficial protocol for many API merchants. For institutional merchants, high-frequency buying and selling companies and market makers requiring deterministic message sequencing and session-based danger controls at colocation latency, FIX 4.4 is offered. Learn The API Unlocked episode on FIX 4.4 for extra info.
What connectivity choices can be found for institutional merchants connecting from different areas?
Devoted personal community routes can be found for institutional merchants connecting between main international hubs. Contact your Kraken Relationship Supervisor for particulars.
