{"id":86,"date":"2026-01-30T11:25:00","date_gmt":"2026-01-30T11:25:00","guid":{"rendered":"https:\/\/hetha.io\/blog\/?p=86"},"modified":"2026-01-29T19:44:03","modified_gmt":"2026-01-29T19:44:03","slug":"how-order-book-structure-and-gpu-recalculation-define-real-arbitrage-in-hetha","status":"publish","type":"post","link":"https:\/\/hetha.io\/blog\/how-order-book-structure-and-gpu-recalculation-define-real-arbitrage-in-hetha\/","title":{"rendered":"How Order Book Structure and GPU Recalculation Define Real Arbitrage in HETHA"},"content":{"rendered":"\n<p><strong>How chain recalculation works inside HETHA<\/strong><\/p>\n\n\n\n<p>Arbitrage in HETHA is implemented as a distributed process where market data passes through several layers before becoming an actual arbitrage opportunity. The goal of this architecture is not to \u201cfind signals,\u201d but to continuously verify whether a potential route remains executable under the current market structure.<\/p>\n\n\n\n<p>The process begins with order books. Worker nodes receive incremental updates from exchanges and maintain synchronized order book states in real time. These updates are applied incrementally rather than by rebuilding the book from scratch, which allows the system to react to even small market changes with minimal latency.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"685\" src=\"https:\/\/hetha.io\/blog\/wp-content\/uploads\/2026\/01\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-2026-01-29-\u0432-21.30.19-1024x685.png\" alt=\"\" class=\"wp-image-87\" style=\"aspect-ratio:1.4949079697281136;width:611px;height:auto\" srcset=\"https:\/\/hetha.io\/blog\/wp-content\/uploads\/2026\/01\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-2026-01-29-\u0432-21.30.19-1024x685.png 1024w, https:\/\/hetha.io\/blog\/wp-content\/uploads\/2026\/01\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-2026-01-29-\u0432-21.30.19-300x201.png 300w, https:\/\/hetha.io\/blog\/wp-content\/uploads\/2026\/01\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-2026-01-29-\u0432-21.30.19-768x514.png 768w, https:\/\/hetha.io\/blog\/wp-content\/uploads\/2026\/01\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-2026-01-29-\u0432-21.30.19.png 1533w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Not every update triggers deeper computation. Many ticks do not meaningfully affect weighted prices or available depth and are filtered out early. Only changes that alter key order book parameters are forwarded for further processing. This prevents unnecessary recalculations and keeps the pipeline stable under high update rates.<\/p>\n\n\n\n<p><strong>Why chains must be recalculated continuously<\/strong><\/p>\n\n\n\n<p>In HETHA, arbitrage chains are not stored as static routes. Every chain is a short-lived structure that exists only as long as the current order books support it. Once a meaningful change occurs in any relevant market, the system forms a new set of candidate chains that must be recalculated.<\/p>\n\n\n\n<p>This recalculation step is handled by the GPU. A large number of chains are evaluated in parallel against the latest market state. For each chain, the system checks whether the route still aligns with prices, whether sufficient liquidity exists at every step, and whether profitability remains positive after fees.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"322\" src=\"https:\/\/hetha.io\/blog\/wp-content\/uploads\/2026\/01\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-2026-01-29-\u0432-21.31.03-1024x322.png\" alt=\"\" class=\"wp-image-88\" srcset=\"https:\/\/hetha.io\/blog\/wp-content\/uploads\/2026\/01\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-2026-01-29-\u0432-21.31.03-1024x322.png 1024w, https:\/\/hetha.io\/blog\/wp-content\/uploads\/2026\/01\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-2026-01-29-\u0432-21.31.03-300x94.png 300w, https:\/\/hetha.io\/blog\/wp-content\/uploads\/2026\/01\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-2026-01-29-\u0432-21.31.03-768x242.png 768w, https:\/\/hetha.io\/blog\/wp-content\/uploads\/2026\/01\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-2026-01-29-\u0432-21.31.03-1536x484.png 1536w, https:\/\/hetha.io\/blog\/wp-content\/uploads\/2026\/01\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-2026-01-29-\u0432-21.31.03-2048x645.png 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Even a small shift in one order book \u2014 a change in depth, spread, or weighted level \u2014 can invalidate an entire chain. This is not an edge case but a normal outcome of operating in fast-moving markets.<\/p>\n\n\n\n<p><strong>Validation as a structural filter<\/strong><\/p>\n\n\n\n<p>Recalculation alone is not enough. After each rebuild, chains go through validation against the live order books. If a chain deviates from current data, takes too long to generate, or no longer reflects executable prices, it is immediately discarded.<\/p>\n\n\n\n<p>This constant ranking and elimination process runs continuously and results in millions of recalculations per hour. Only a small fraction of chains survive long enough to become visible to the user or reach the execution module.<\/p>\n\n\n\n<p>The key point is that chains are removed not because the logic was incorrect, but because the market has already moved. Validation ensures that outdated assumptions never propagate further down the pipeline.<\/p>\n\n\n\n<p><strong>From signals to a structured system<\/strong><\/p>\n\n\n\n<p>This mechanism \u2014 continuous reconstruction combined with strict validation \u2014 is what transforms HETHA from a signal-based approach into a structured arbitrage system. Instead of reacting to historical snapshots or price gaps, the system maintains an up-to-date representation of what the market can actually execute at any given moment.<\/p>\n\n\n\n<p>Arbitrage becomes an ongoing process rather than a one-time search. The pipeline remains active, adaptive, and synchronized with real market structure, ensuring that only chains supported by current liquidity and pricing survive.<\/p>\n\n\n\n<p>This architectural choice is what allows HETHA to operate reliably under high update rates and changing market conditions, treating arbitrage as infrastructure rather than as a feed of opportunities.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>How chain recalculation works inside HETHA Arbitrage in HETHA is implemented as a distributed process where market data passes through [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[1],"tags":[],"class_list":["post-86","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/hetha.io\/blog\/wp-json\/wp\/v2\/posts\/86","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hetha.io\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hetha.io\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hetha.io\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hetha.io\/blog\/wp-json\/wp\/v2\/comments?post=86"}],"version-history":[{"count":1,"href":"https:\/\/hetha.io\/blog\/wp-json\/wp\/v2\/posts\/86\/revisions"}],"predecessor-version":[{"id":89,"href":"https:\/\/hetha.io\/blog\/wp-json\/wp\/v2\/posts\/86\/revisions\/89"}],"wp:attachment":[{"href":"https:\/\/hetha.io\/blog\/wp-json\/wp\/v2\/media?parent=86"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hetha.io\/blog\/wp-json\/wp\/v2\/categories?post=86"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hetha.io\/blog\/wp-json\/wp\/v2\/tags?post=86"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}