# HIP-3 — Perpetual DEXs (/providers-execution/hyperliquid/hip-3)



HIP-3 uses `hyperliquidf` and a `{dex}:{coin}` symbol.

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

```bash
mlab markets --exchange hyperliquidf --symbol xyz:TSLA
mlab trade long xyz:TSLA --venue hyperliquidf --margin 100 --leverage 5 --dry-run
```

## Python V2 [#python-v2]

```python
ctx.trade({
    "exchange": "hyperliquidf",
    "symbol": "xyz:TSLA",
    "position": "open-long",
    "margin": 100,
    "leverage": 5,
})
```

Core perpetuals use the same venue with a base symbol such as `BTC`. There is no `--hip 3` flag.

See [HIP-3 market data](/providers-market-data/hyperliquid/hip-3).
