Market LabDocs

Strategies

Execute a parent order with a built-in algorithm.

You provide the symbol, side, amount, and execution window. The strategy divides and schedules the order.

StrategyPacing
TWAPFixed time intervals
VWAPMarket-volume trajectory
OIWAPDerivatives open-interest activity

Built-in strategies support perpetual execution on bulkf, hyperliquidf, and hyperlinkf. HIP-3 uses a scoped symbol such as xyz:TSLA with either perpetual venue. Strategies do not support Spot or outcome markets.

Preview a TWAP:

mlab strategy run twap BTC \
  --venue hyperliquidf \
  --side buy \
  --margin 100 \
  --duration 300 \
  --interval 60 \
  --dry-run

Jobs

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

Strategies run as detached daemon jobs. There is no generic restart command because restarting a partially completed parent order could execute the filled quantity again.

On this page