> For the complete documentation index, see [llms.txt](https://docs.mass.money/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.mass.money/general/perps.md).

# Perps

Mass allows you to leverage trade on more than 100 markets on Hyperliquid with up to 40x leverage.

The Mass Perps account is powered by Hyperliquid, the leading decentralized perps exchange!&#x20;

To start, you must transfer funds to your Hyperliquid account!&#x20;

<figure><img src="/files/hzEyD9JS5wikiJWUkjP0" alt=""><figcaption><p>Perps - Home</p></figcaption></figure>

To start leverage trading, you can:

1. [Open a market order to go short or long on an asset.](/general/perps/market-orders/market-order-short-long.md)
2. [Open a limit order to go short or long on an asset.](/general/perps/limit-orders/limit-order-short-long.md)

Once your order has been filled, you can:

• [Add margin to your position.](/general/perps/market-orders/add-margin.md)

• [Remove margin from your position.](/general/perps/market-orders/remove-margin.md)

• [Adjust the leverage, i.e., decrease or increase your position size.](/general/perps/market-orders/adjust-leverage-size.md)

• [Replace the entire position, i.e, switch the side, add/remove margin, and adjust the leverage.](/general/perps/market-orders/replace-position.md)

• [Edit your take-profit (TP) or stop-loss (SL) orders.](/general/perps/market-orders/edit-tp-sl.md)

• [Fully or partially close your order.](/general/perps/market-orders/close-your-position.md)

If your limit order hasn’t been filled yet, [you can cancel it](/general/perps/limit-orders/cancel-or-replace-a-limit-order.md).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.mass.money/general/perps.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
