# HIP-4 — Outcomes (/providers-execution/hyperliquid/hip-4)



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

<a className="ml-campaign-banner not-prose" href="/outcome-rewards">
  <span>
    <strong>
      Earn from Outcome’s $1M reward pool
    </strong>

    <span>
      Market Lab can run the buy and sell orders for you with a 0% builder fee.
    </span>
  </span>

  <span className="ml-campaign-banner-action">
    Start farming →
  </span>
</a>

## Discover and trade [#discover-and-trade]

```bash
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 [#python-v2]

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

## Market-making bots [#market-making-bots]

Bots take the bare outcome ID:

```bash
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 [#account-actions]

```bash
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](/providers-market-data/hyperliquid/hip-4).
