CryptoEngine — 24/7 Event-Driven Trading Platform by Hisashi AokiCryptoEngine — 24/7 Event-Driven Trading Platform by Hisashi Aoki

CryptoEngine — 24/7 Event-Driven Trading Platform

Portfolio project
Hisashi Aoki
Most trading bots stop at "generate a signal and place an order". CryptoEngine is built around what happens after that: restarts with open positions, exchange timeouts, fees eating the edge, and strategy changes that turn out to be noise.
What I built
A production-shaped system, not a script:
Event-driven ingestion of order-book streams and trade tape
Deterministic signal evaluation on closed candles, with higher-timeframe direction and lower-timeframe confirmation
A cost gate: a trade must cover fees and spread, and it fails closed when volatility is unknown
Layered risk controls: position limits, portfolio caps, daily loss kill switch, stop-loss and max holding time
An append-only audit log of every signal, skip, order, fill and state transition
A research loop: historical replay, bootstrap confidence intervals, acceptance gates and ablation studies
A Next.js dashboard for equity, positions, signals and API latency
Dry-run, replay and live modes from the same codebase, with live execution disabled unless explicitly enabled
Why the engineering matters
Restart with an open position: a single-writer coordinator persists atomic snapshots and reconciles on restart
Exchange timeout mid-order: retryable faults are retried with bounded backoff while business rejections fail fast, and maintenance windows plus lot-size checks run before the request
24/7 operation on a 2 GB VPS: heartbeat, watchdog, resource limits and a deploy script that refuses to ship secrets
Result
Go core, FastAPI service, PostgreSQL and a Next.js dashboard, with CI running Go and Python tests plus a static demo deploy. The public repository is sanitized: no credentials, account data or host identifiers, and every screenshot runs on deterministic synthetic data.

0 likes · 1 view · Nov 25, 2026

Go + Python system: event-driven ingestion, deterministic signals, risk gates, replay research and a Next.js dashboard. Dry-run by default.

Tags