> For the complete documentation index, see [llms.txt](https://docs.boba.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.boba.xyz/agents/boba-agents/core-capabilities/perpetuals-trading.md).

# Perpetuals Trading

***

### Overview

Hyperliquid perps let you trade long or short with leverage. Use market data to plan entries and funding risk. Use conditionals and margin controls to manage liquidation risk.

{% hint style="info" %}
Boba Agents trade perpetuals futures on **Hyperliquid.**
{% endhint %}

***

### What you can do

* Long or short perps with up to **50x** leverage
* Market, limit, and conditional order types
* Stop-loss and take-profit automation
* Position and PnL monitoring
* Funding-rate monitoring and carry-style strategies

### Hyperliquid integration

Trade perpetual futures on Hyperliquid with up to **50x leverage** across **100+ assets**. Go long or short on BTC, ETH, SOL, and more from your agent wallet.

{% hint style="warning" %}
Perps are high risk. Start small and cap leverage until your flows are battle-tested.
{% endhint %}

***

### Example prompts

```
Long $100 BTC perps on Hyperliquid.
Short $250 ETH perps with a stop-loss.
Show me the top perp markets by open interest.
Show my open positions and unrealized PnL.
```

***

### Core pages

<table data-view="cards"><thead><tr><th>Capability</th><th>Description</th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><h4>Market Data</h4></td><td>Browse markets, funding, order book depth, and historical data.</td><td><a href="/spaces/DdpQIQSF1FubGThe6umC/pages/EsFr9Nd8EUC4pfSag1fZ">/spaces/DdpQIQSF1FubGThe6umC/pages/EsFr9Nd8EUC4pfSag1fZ</a></td></tr><tr><td><h4>Place Orders</h4></td><td>Market and limit orders. Long/short. Optional leverage.</td><td><a href="/spaces/DdpQIQSF1FubGThe6umC/pages/uJB3v8B6EH67XEEKnsEi">/spaces/DdpQIQSF1FubGThe6umC/pages/uJB3v8B6EH67XEEKnsEi</a></td></tr><tr><td><h4>TP/SL &#x26; Conditionals</h4></td><td>Stop-loss, take-profit, and trigger-based orders.</td><td><a href="/spaces/DdpQIQSF1FubGThe6umC/pages/K7OyUH4sAl8GoQyesAvn">/spaces/DdpQIQSF1FubGThe6umC/pages/K7OyUH4sAl8GoQyesAvn</a></td></tr><tr><td><h4>Leverage &#x26; Margin</h4></td><td>Cross vs isolated margin. Set leverage per symbol.</td><td><a href="/spaces/DdpQIQSF1FubGThe6umC/pages/jzoce3ivgtrHhJnVcOp9">/spaces/DdpQIQSF1FubGThe6umC/pages/jzoce3ivgtrHhJnVcOp9</a></td></tr><tr><td><h4>Positions &#x26; Orders</h4></td><td>View open positions, open orders, fees, and PnL history.</td><td><a href="/spaces/DdpQIQSF1FubGThe6umC/pages/PILCfrArGJvCLeMacIlY">/spaces/DdpQIQSF1FubGThe6umC/pages/PILCfrArGJvCLeMacIlY</a></td></tr><tr><td><h4>Close &#x26; Cancel</h4></td><td>Close positions and cancel open orders.</td><td><a href="/spaces/DdpQIQSF1FubGThe6umC/pages/euxPlMXxjFBwdza6ua2D">/spaces/DdpQIQSF1FubGThe6umC/pages/euxPlMXxjFBwdza6ua2D</a></td></tr><tr><td><h4>Trade History</h4></td><td>Fetch fills for audit, analytics, and backtesting.</td><td><a href="/spaces/DdpQIQSF1FubGThe6umC/pages/VQgjXdIGmug6Z1j3BszV">/spaces/DdpQIQSF1FubGThe6umC/pages/VQgjXdIGmug6Z1j3BszV</a></td></tr><tr><td><h4>Order Types &#x26; TIF</h4></td><td>Reference for order types and time-in-force.</td><td><a href="/spaces/DdpQIQSF1FubGThe6umC/pages/A5srlZSpRqg21YzkL48c">/spaces/DdpQIQSF1FubGThe6umC/pages/A5srlZSpRqg21YzkL48c</a></td></tr></tbody></table>

***


---

# 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.boba.xyz/agents/boba-agents/core-capabilities/perpetuals-trading.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.
