Market LabDocs
Bots

Bots

Run autonomous native trading systems as supervised Market Lab jobs.

Bots

Bots own their trading decisions. Unlike an execution strategy, a bot does not accept a user-selected buy or sell side. It watches the market, submits both sides or multiple legs when its model requires them, manages its inventory, and performs its own shutdown procedure.

Market Lab currently includes:

  • Mid-Price Market Maker: protects its configured midpoint spread by repricing in both directions
  • Volume-Mid Market Maker: keeps approachable quotes resting and chases only when the market moves away, prioritizing fills and traded volume

Bots, Strategies, and Scripts

  • A bot decides what side to quote or trade and manages the resulting state.
  • A strategy executes intent supplied by the user, including the side and amount.
  • A script is the JavaScript extension layer and can implement either style.

Native bots run as detached jobs supervised by the existing mlabd daemon. There is no second bot daemon.

Both current bots accept --venue bulk or --venue hyperliquid. Hyperliquid currently targets testnet native perpetuals only.

mlab bot jobs
mlab bot status <JOB_ID>
mlab bot logs <JOB_ID> --follow
mlab bot stop <JOB_ID>

Bots can place real orders without waiting for another terminal confirmation after deployment. Inspect the complete plan with --dry-run first.

On this page