How to Close a Perp Position

Closing a perp on Axiom means trading the position back to zero: all of it at once, part of it, or at a price you choose. Here is each way, and where your margin and your profit or loss show up afterwards.

On this page
  1. Start from the Positions tab
  2. Close part of it
  3. Close at a price you choose
  4. After the close

Start from the Positions tab

Diagram of the Axiom perps Positions tab columns: asset, position, value, entry, mark, liquidation price, margin used with PnL, TP/SL and Close
The Positions tab, column by column; Close sits at the far right.

Under the perps chart, the Positions tab gives each open trade one row: how big it is and which way, what it is worth, where you got in, where Hyperliquid marks it, the level that would liquidate it, the collateral it holds with the running result, and any TP/SL attached. The last column is Close. Use it when you want out now; it sends a closing order for the position to Hyperliquid's order book.

Close part of it

Diagram of a 2 BTC long reduced to 1 BTC by a 1 BTC short, and flipped into a 1 BTC short by a 3 BTC short
An order the other way reduces the position; too big an order flips it.

Hyperliquid keeps one position per market, so an order the other way shrinks it. To bank half of a 2 BTC long, place a 1 BTC short of the same pair; the long becomes 1 BTC. Be exact with the size. A short larger than the long closes the long and opens a short with the difference, which is easy to do by accident with a percentage slider.

Close at a price you choose

Diagram of four ways to close an Axiom perp: the Close button, a smaller opposite order, a limit order the other way, and a take profit or stop loss
Four ways out, from fastest to most patient.

For a planned exit, use the Limit tab with the opposite direction and the size you want to close, or set a take profit so the exit waits for you even if you are offline. The second is usually the better habit, and How to Set Take Profit and Stop Loss on a Perp shows how.

After the close

The margin the position used goes back to your perps account value straight away, with the profit added or the loss taken off. The trade appears under Trades below the chart and under Trade History in Portfolio, Perpetuals. The balance stays on Hyperliquid until you move it; How to Withdraw from Axiom Perps takes it from there.

Mohammad Shahpari

Written by Mohammad Shahpari ยท Web3 CMO, Crypto Growth & SEO Specialist ยท X ยท LinkedIn

Did this answer your question?