evanacci.dev / project / market-making-bot
04 of 05
↳ project 04 live
Market Making Bot
“Hyperliquid perps market maker”
Market making is fun until it isn't. This bot quotes both sides of the Hyperliquid order book, manages inventory, and ships a runtime invariant sentinel that watches authority consistency, rate headroom, geometry, and restart loops. Three consecutive violations latch a pause, no auto unpause. Image deploys are deterministic: pinned tags, baked patches, no runtime monkey patching, hash verified by the deploy script. Observability runs on Prometheus, Alertmanager, and Grafana with HMAC short lived dashboard tokens.
↳ highlights
- 01 Runtime invariant sentinel. Authority, rate headroom, geometry, restart loops. Latching pause on 3 violations.
- 02 Exchange state authority manager. Drift classification, REST zero corroboration, degraded read guard.
- 03 Connectivity resilience. Correct throttler weights, 429 backoff with circuit breaker.
- 04 Deterministic image deploys. Pinned tags, baked patches, BOOT_DETERMINISM token at startup.
- 05 60 second deploy cooldown, immutable tags, RC workflow, origin verified.
- 06 Currently running v0.2.86 on a VPS, 323 tests passing.
↳ stack
PythonHummingbotDockerPrometheusGrafana