Overview
You can use/perp long command to open long positions on Hyperliquid.
Command arguments
Command arguments
Name of the asset to open a long position for
Margin to use for the position (use ”%” or ”$” for relative amounts)
Leverage to use for your position.
Position will be opened below this price (use ”%” for relative decrease)
Position will be closed below this price to limit loss (use ”%” for relative decrease)
Position will be closed above this price to save profit (use ”%” for relative increase)
Margin mode to use for the position. Choose
isolated or cross.

