Skip to content

Technology ​

Each choice below is fixed by a measurable requirement: latency on the order path, byte-identical replay, licence compatibility, and the number of services an operator must run.

AreaChoiceRequirement it meets
LanguageRust 1.97.1 (edition 2024) for the core, engines and adapters, Python 3.12+ for strategies and read-side toolingBounded worst-case latency on the order path, unsafe_code = "forbid" in every crate
Event storeEmbedded append-only segment files on the node's filesystem, SHA-256 hash chain, standard library onlyOne durable write per decision, no database server to operate
Market journal durabilityOne sync per batch of frames already waiting, journal before derived streams (decision 0019)One instrument's recorded Bybit session replayed at 4,370 frames/s to disk against 163 with a sync per frame, and 65 frames/s as recorded (WSL 2 host, 2026-11-27)
Research archiveApache Parquet (parquet crate, column API, arrow features off) with zstd level 3, one file per minute of received time, a JSON-lines manifest with SHA-256 per fileColumnar files every quant tool reads, a projection of the frame journal, rebuilt byte for byte
Event encodingVersioned fixed-layout binary: 4-byte envelope (class id, class version), big-endian fixed-width fields, no floating pointByte-identical replay, an unknown class or newer version refuses the replay
In-process messagingBounded channel per topic owned by the program, single writer per topicBack-pressure is reported to the publisher, nothing is dropped silently
Cross-process messagingThe event store, no message brokerA message lost between processes cannot be told from one never sent
Durable stateThe event store only, projections are in memory per process and rebuilt by replayNo cache or database client in any component's required dependencies
Relational storeOptional, behind a port (PostgreSQL store available for attribution)Operators may keep reporting in the database they already run
Pre-trade checkSynchronous evaluation on the order path's thread, state owned by value, no lock, no queue, no allocation per callWorst case linear in the number of declared limits
Limit stateDeclarations, consumption and releases as events, consumed budget is a replayA restart cannot restore spent budget
Strategy sandboxLinux namespaces and cgroup v2, driven by the strategy engine, no container runtimeNo network, bounded memory and time, no credentials inside a run
ConsoleOne Rust binary rendering HTML server-side on loopback or HTTPS with client certificates, assets embeddedA failed read shows as failed, not as the last good value
InstallationUnits for the distribution's init system, generated from one manifestA stopped program is a state the operator can produce and test
SecretsEncrypted keystore file (ChaCha20-Poly1305), key from a declared source, no fallback between sourcesCredentials never in configuration, environment or source
Configuration and profilesJSON, with wide integers written as stringsValues survive parsers that read JSON numbers as doubles
Venue websocketsockudo-ws behind one shared crate (bijective-venue-socket), TLS from the host's roots, permessage-deflate offered on every connection (RFC 7692)A venue stream fits a narrow link: one instrument's book, trades and ticker measured 0.4 to 0.9 s behind the venue with compression, up to 106 s without it on the same host (2026-11-24 and 2026-11-26)
TLSrustls with the ring provider, one provider per binaryOne audit surface, no C toolchain dependency for TLS (the archive's zstd library is the one C component, built from its bundled source)
Hyperliquid signingECDSA on secp256k1 (k256), Keccak-256 (sha3), msgpack written field by field (rmp primitives)A field reorder cannot change a signature unnoticed
Order costCost charged on submission, released on a terminal outcomeA limit cannot be spent twice by an order that is still open
Venue identityVenue symbols are translated outward only, above the adapter contract instruments are InstrumentIdTwo venues write into one store without pricing each other's positions

Measured and not adopted ​

A technology is adopted when a measurement on this platform shows it meets a need the platform has. Each one below was examined against that test. The reason is recorded with its evidence, and with what would make the question worth asking again.

TechnologyWhy notEvidenceAsked again when
Zero-copy parsingThe flush to disk, not copying, bounds the market pathA durable append cost 2.1 to 2.5 ms against a few nanoseconds per copy (2026-11-12). Removing the flush made the recorder 32 times faster with every copy still in place: 5,150 against 163 frames/s (2026-11-27)A production host approaches the processing bound, 5,150 frames/s for one instrument on the measured host
Redis or another external cacheA second service on the capital path, with state that is lost on restart and has to be reconciled againThe event store is the durable state and every projection is rebuilt by replay (Determinism and Replay parity gates). The No required datastore gate keeps every component free of a cache clientA second consumer needs state shared across hosts that a replay cannot rebuild in time
A message brokerA message lost between processes could not be told from one never sentPrograms on a node exchange records through the event store, whose hash chain and sequence numbers make a gap visiblePrograms of one node run on more than one host
A required database serverAn operator would have to run, back up and secure it before the first tradePostgreSQL is available behind a port for attribution reporting, and no component requires it (No required datastore gate)Never as a requirement. Reporting stays optional
Python loaded into the engine (PyO3) on the order pathClient strategy code would share the process that holds credentials and sends ordersStrategies run in a sandbox of their own: no network, bounded memory and time, no credentials (decision 0003, sandbox.sh drill). The research archive is Parquet, which pandas, Polars and DuckDB read without a bindingA read-only research binding is requested by a second user. The order path stays out of reach
A container runtime for the strategy sandboxOne more runtime between the supervisor and the kernel controls it already usesLinux namespaces and a delegated cgroup v2 subtree bound every run (decision 0003)A host cannot delegate a cgroup subtree
A timer for batching market writesIt delays every frame in a quiet market to gain throughput only in a busy oneBatching what is already waiting reaches 4,370 frames/s with no wait added (decision 0019)Never: the drained batch already reaches the throughput a timer would

Dependency policy ​

Most core crates depend on the standard library only. Third-party packages are limited to networking, TLS, cryptography, serialization and the research archive's file format. Every package in Cargo.lock is attested with its licence in scripts/ci/licence_attestation.tsv, and only permissive licences are accepted. The Dependency licences and Licence linkage gates enforce this.

Released under the Apache License 2.0.