Production use: Research Analyst @ 3poch Labs — automated market making on Hyperliquid, $58.9K live volume, 24/7 execution. Architecture →
Hyperliquid market-making platform: connect → quote around mid → refresh/cancel → emergency kill switch.
git clone https://github.com/alfredalpino/MarketMakingMegaMachine.git
cd MarketMakingMegaMachine
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
cp example.env .env # add testnet WALLET_ADDRESS and WALLET_SECRET
python main.py -s pure_mm -t -v| Command | Action |
|---|---|
python main.py -ca -t |
Emergency cancel all open orders |
Ctrl+C |
Stop running strategy |
All market-making strategies auto-cancel on insufficient balance errors.
python main.py --list-strategies| Module | Asset | Market |
|---|---|---|
pure_mm |
Configurable (default UBTC/USDC) | spot |
ubtc_mm |
UBTC/USDC | spot |
ueth_mm |
UETH/USDC | spot |
buddy_mm |
BUDDY/USDC | spot |
usol_mm |
USOL/USDC | spot |
ufart_mm |
UFART/USDC | spot |
pip_mm |
PIP/USDC | spot |
usdhl_mm |
USDHL/USDC | spot |
dyna_vola |
Configurable (default UBTC/USDC) | spot |
ema_strategy |
Configurable perp (default UBTC/USDC) | perp |
python main.py -tInteractive commands: connect testnet, balance, select_strategy pure_mm, strategy_status, stop_strategy, cancel_all.
pip install -r requirements-dev.txt
pytest
ruff check .See ARCHITECTURE.md for components, order lifecycle, and failure modes.
Market data layer: Candlecraft (PyPI) — unified OHLCV for crypto, forex, equities.
Example: examples/candlecraft_mid_price.py
Optional systemd install and monitoring: docs/deployment/systemd.md
Record a testnet walkthrough with scripts/demo_testnet.sh.
See docs/demo.md for steps.
This software trades real assets. Use testnet first. No warranty. You are responsible for losses, API keys, and compliance in your jurisdiction. Emergency cancel: python main.py -ca.
Apache 2.0 — see LICENSE.