Market LabDocs

HIP-4 — Outcomes

Discover, trade, and make markets on Hyperliquid outcomes.

Direct orders use <outcome-id>:<side> and the hyperliquid venue.

Earn from Outcome’s $1M reward poolMarket Lab can run the buy and sell orders for you with a 0% builder fee.Start farming →

Discover and trade

mlab markets --exchange hyperliquid --hip 4 --search BTC
mlab markets --exchange hyperliquid --hip 4 --deployer out
mlab trade long 1210:0 --venue hyperliquid --margin 100 --dry-run

Python V2

ctx.order({
    "exchange": "hyperliquid",
    "symbol": "1210:0",
    "side": "buy",
    "margin": 100,
    "order": {"type": "limit", "price": 0.42, "tif": "alo"},
})

Market-making bots

Bots take the bare outcome ID:

mlab bot run mid-price 1210 --venue hyperliquid --margin 100 --duration 3600 --dry-run

Outcomes do not support leverage, naked shorting, attached SL/TP, or perpetual close operations.

Account actions

mlab outcome split <OUTCOME_ID> --amount <AMOUNT>
mlab outcome merge <OUTCOME_ID> [--amount <AMOUNT>]
mlab outcome merge-question <QUESTION_ID> [--amount <AMOUNT>]
mlab outcome negate <QUESTION_ID> <OUTCOME_ID> --amount <AMOUNT>

These actions are not required before running an outcome bot.

See HIP-4 market data.

On this page