Market LabDocs

HIP-3 — Perpetual DEXs

Execute builder-deployed Hyperliquid perpetuals.

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

Discover and trade

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

Python V2

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.

On this page