Repository navigation
Releases
Releases · TeachPenguinsFly/raikiri
raikiri edge
raikiri 0.1.0
The first stable release. Shared-memory ABI 16, unchanged from the beta.
Terminal
- Rebuilt: one chart with every venue's price, a combined order book ladder, trades tape, chart types and
indicators, a market list across spot, perpetuals and options, and an options desk over six venues. - Opens without API keys and without order entry by default.
History
candledkeeps one-minute candles in PostgreSQL and backfills them from each venue's public history;
admindserves them at/v1/candles.- Funding, mark and open interest sampled every five minutes.
Trading
apid, a client API for programs on other machines, with Python and C++ SDKs; it writes the order intent
before placing.- Order entry on ApeX; leverage and margin mode on four venues; bracket and stop orders, depth-share caps and
internal crossing injoe. - Books, a risk page and an order audit trail naming the book and the person.
- Fees, tiers and notional limits per venue.
Runtime
- Futex wakeups for segment readers;
strategydsleeps when idle. - A websocket pool adds and drops a key without rebuilding its sockets; busy markets are spread across sockets.
- Async HTTP handlers and a non-blocking PostgreSQL pool in
admind.
Build and docs
- CI builds with GCC 14 and Clang 18 on Linux and on macOS, and publishes Linux x86-64 binaries.
make up VENUES="binance bybit"starts chosen venues;make venueslists them.- A documentation site.
Known limits
- Not every order path has run against a real account.
- Until 1.0 a minor release may still change the API or a shared-memory layout.
raikiri 0.1.0-beta.1
The first public beta.
Market data
- 43 venues, CEX and DEX, across spot, perpetuals, dated futures and options, one gateway process per venue and
market. - Quotes, depth, trades, funding and option greeks as published by each venue, normalised to fixed-point ticks and
lots, with the venue's clock and the kernel receive time on every record. - Per-venue rate limits from
config/venues.yaml, websocket compression where the venue supports it.
Order entry
- 23 venues: REST everywhere, websocket order entry on binance, bybit, okx, bitget, gate, kucoin, hyperliquid and
lighter. - Signers for HMAC venues, EVM wallets (EIP-712 and agent wallets) and lighter's native Schnorr key.
- Private streams, reconciliation pulls and funding ledgers where the venue offers them.
- A risk gate on every order: notional, price band and open-order limits per strategy.
Runtime
- Shared-memory transport: seqlock tables, broadcast rings and SPSC command rings; cross-process p50 167 ns.
strategydkernel with one book across all attached gateways,joeparent orders (TWAP, VWAP, smart routing).- Append-only SBE journals copied into PostgreSQL by
persisterd;refdreference mids. admindHTTP and WebSocket API described inschema/admin-api.yaml, and the web terminal.
Known limits
- Not every order path has run against a real account; the caps table does not yet record which have.
grvtandcryptocomare market data only; daemons do not pin threads to cores.- Shared-memory ABI 16; a gateway and a kernel on different ABIs refuse to attach.