# exchange-core/exchange-core

Ultra-fast matching engine written in Java based on LMAX Disruptor, Eclipse Collections, Real Logic Agrona, OpenHFT, LZ4 Java, and Adaptive Radix Trees.

Repository: https://github.com/exchange-core/exchange-core
Canonical: https://ross.abutalabs.com/products/exchange-core
Language: Java
License: Apache-2.0
License Family: permissive
Topics: trading-platform, trading-api, lmax-disruptor, matching-engine, bitcoin, java, hft, hft-trading, low-latency, lock-free, exchange, forex-trading, stock-market, stock-trading, stock-exchange, order-book, exchange-api, matching-algorithm, cryptocurrency, cryptocurrency-exchanges
Last push: 2023-10-08T18:06:59+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 2950, "days_push": 1060, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2605, forks 973 (observed 2026-08-28T04:07:04.026079+00:00)

## What it is
An ultra-fast order matching engine core for exchanges written in Java, built on LMAX Disruptor, Agrona, Eclipse Collections, and OpenHFT. It includes order matching, risk control and accounting, disk journaling/snapshots, and trading/admin APIs with sub-millisecond latency at millions of operations per second.

## Use cases
- build a cryptocurrency exchange matching engine
- run a low-latency order book for stock trading
- process millions of orders per second with microsecond latency
- implement risk control and accounting for a trading platform
- create a forex or crypto exchange backend
- benchmark lock-free order matching performance

## When to choose
- you need extremely low-latency, high-throughput order matching on the JVM
- you are building a crypto, forex, or stock exchange core
- you want lock-free, disruptor-based architecture with journaling and snapshots

## When to avoid
- you need a full turnkey exchange with UI, wallets, and compliance out of the box
- your team is not comfortable with low-level Java performance tuning
- you need active commercial support or frequent updates

## Facets
- artifact type: library
- maturity: maintenance
- function: trading, concurrency, serialization, benchmarking
- domain: fintech, performance, microservices
- platform: jvm, cross-platform
- tags: matching-engine, order-book, low-latency, hft, lmax-disruptor, lock-free, exchange-core, cryptocurrency, linux

## Member repositories
- exchange-core/exchange-core (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:04.026079+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:21:02.430020+00:00, confidence not recorded.
  - readme: https://github.com/exchange-core/exchange-core (fetched 2026-08-28T04:07:04.026079+00:00, sha 6c3373f354d9)
- Data as of 2026-08-30T08:39:29.467469+00:00.
