Nov 2025 — Present
CoinSwitch
SDE-1
Order execution, market making and the safety rails around real money.
01Decoupled order execution
~4.1K LOC · Postgres-backed e2e suiteBuilt the client leg of decoupled execution inside the crypto futures order engine — users are credited with instant synthetic fills while the exchange leg settles asynchronously. Idempotent fill events, double-credit-safe order-update routing, and a reconciler that nets in-flight legs.
- Go
- PostgreSQL
- Idempotency
02Futures hedging strategies
4 of 6 strategies · ~39K LOC incl. testsSole author of four of the six production hedging strategies in a portfolio-protection service that shorts Bybit futures against user spot holdings. Confirmation-window state machines, market-order fallback when price moves against the hedge, and safety-gated auto-repair of live position drift.
- Go
- State machines
- Bybit
03Cross-exchange market making
3 venuesOwned production tuning of the XEMM strategy on a Hummingbot fork spanning Binance, Bybit and KuCoin. Built a tick-size-aware quantization engine that widens profitability bands dynamically — eliminating false order cancellations caused by exchange price rounding.
- Python
- Hummingbot
- Quantization
04Trading runtime re-architecture
Collapsed a one-pod-per-coin Kubernetes runtime into multi-coin pods using all-or-nothing Redis distributed-lock acquisition, with per-coin kill switches preserved. Cut per-coin infrastructure overhead without giving up isolation of failure.
- Kubernetes
- Redis
- Distributed locks
05Risk & treasury automation
Built the risk service's data and reporting layer: restart-safe Redash-to-PostgreSQL PnL ingestion, automated daily and weekly PnL reports into Slack, broker-config CRUD APIs, and automatic top-up of exchange futures margin.
- FastAPI
- PostgreSQL
- Automation