← 博客
开源交易所基础设施 · v1.0.0-nightly.20261105
2026年7月22日发布

Open Exchange v0.4.0-beta: the money release

Open Exchange v0.4.0-beta is tagged across all five repositories. Five, not four: the Assets Engine, the deterministic money ledger we have been building alongside the stack, joins as a first-class repo with this release.

v0.3 was about proving the engine survives failure. v0.4 is about the money itself: where it lives, how every movement is recorded, and how you answer "why is this balance what it is" with a replay instead of a shrug.

Money gets its own cluster

The Assets Engine is a deterministic ledger running as its own Aeron Raft cluster. Every hold, settle, and release is a state-machine transition, replicated across three nodes before it takes effect, driven by the same replicated-log discipline as the matching engine. The OMS now does its money accounting against it through a small seam, and the old in-process double-entry path is deleted, not deprecated. Money has one authority now.

Around that authority: a reconciler that sweeps for holds it can prove were never submitted, a settle that can never drive a locked balance negative, and a fix for an out-of-order fill storm that used to swallow roughly 16% of trades under stress testing. We found that last one with the same storm tests that earned v0.3 its beta label. They keep paying rent.

Every money movement, replayable

Two journals landed. The settlement journal is a lossless per-node record of every trade and terminal event, carrying the OMS order ids: the key you actually need when you reconcile engine history against OMS state. The money journal records every applied money movement per node in a replayable archive, with a projector that follows it into Postgres for querying. Neither is a log file you grep and hope; both are replayable records with watermark-gated retention.

Egress you can sort

Every trade and order-status message now carries its position in the replicated log (egressSeq). Two subscribers replaying the same market can no longer disagree about what happened in which order, across leader elections included. The wire protocol moved from SBE v5 to v7 along the way: engine reject reasons now ride the status egress, and trades carry the taker side.

Market data went to the edge

The cluster publishes market data once; Cloudflare fans it out to every viewer from the edge, and candles now land in TimescaleDB so history survives restarts. This shipped gradually since the demo went live, and v0.4.0-beta is the first tag that contains all of it.

Release-day photobombs

Between the changelog freeze and the tag, three HIGH severity advisories landed in our dependency tree: netty (CVE-2026-44891), jackson-core, and gRPC-Go. All three fixes are in the tag, not in a follow-up release.

What beta still doesn't mean

No external security audit has happened yet. That remains the biggest single item between here and anything that holds real funds, and we'd rather keep saying it plainly than let a version number imply otherwise. Open Exchange remains infrastructure: KYC, custody, fiat rails, and licenses are still yours. That line stays in every post until it stops being true.

Try it

The quick start goes from a fresh clone to a running exchange on one Linux box in a few minutes; it's five clones now instead of four. The release notes have the full changelog, per repo. If you build something on it, or try to break it, we want to hear either way.

Measured on a single Intel 13700K running a 3-node Aeron Raft cluster with external media drivers, pinned cores, and OS tuning, in local development.
Open Exchange

一套可免费使用的交易所核心。我们负责保持其稳定运行,您只需支付服务器成本和一笔维护费。

github.com/openexch

Apache 2.0 · v1.0.0-nightly.20261105 是每夜构建的预发布版本,不适用于生产环境:目前尚无冻结的公开 API,也尚未经过外部安全审计,在完成审计之前不应承载生产资金。在线演示运行的是订单与账本核心和 C++ 网关,网关尚无带标签的发布版本。Open Exchange 是您构建交易所所用的基础设施;KYC/AML、托管、法币、身份认证与合规由集成方负责。

网站分析使用一个持久的随机浏览器标识符,数据存储于欧盟境内;会话录制会遮蔽输入内容。我们尊重“请勿跟踪”(Do Not Track)和全球隐私控制(Global Privacy Control)设置。 详情.

Open Exchange · v1.0.0-nightly.20261105所有实测数据均注明来源