Skip to main content

Overview

You can use /long command to open long positions on Hyperliquid.
asset
string
required
Name of the asset to open a long position for
margin
string
required
Margin to use for the position (use ”%” or ”$” for relative amounts)
leverage
number
required
Leverage to use for your position.
target-price
string
Position will be opened below this price (use ”%” for relative decrease)
stop-loss-price
string
Position will be closed below this price to limit loss (use ”%” for relative decrease)
take-profit-price
string
Position will be closed above this price to save profit (use ”%” for relative increase)
isolated
boolean
default:false
Whether to open a position in isolated margin mode

Opening a long position in Discord

If perp trading is enabled for the token you’ve entered, you will get a quote for your position:

Long position open confirmation

If you’re satisfied with your position, simply click the open long position button to open it.

Successful position opening

You will be notified via DMs once your position is fulfilled or closed.
You can use the /positions command in Discord to view all your open positions.