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

# Perpetuals

### What are perpetuals?

Perpetual futures (commonly called "perps"), are derivative contracts that let you speculate on the price of a digital asset without owning it, and without an expiration date. You can go long if you expect the price to rise, or short if you expect it to fall, with the option to use leverage to amplify your position.

On Rails, all perpetuals are traded with on-chain custody, meaning you stay in control of your funds throughout — combining the execution speed of a centralized exchange with the security and transparency of the blockchain.

Find out more about perps on Rails in the sections below:

<table data-view="cards"><thead><tr><th align="center"></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td align="center"><strong>Order Types</strong></td><td><a href="/pages/ntM1Plm6DkkKG8G1mbeC">/pages/ntM1Plm6DkkKG8G1mbeC</a></td></tr><tr><td align="center"><strong>Placing Orders</strong></td><td><a href="/pages/iKE1bFUmwuqiDoWTZ2mb">/pages/iKE1bFUmwuqiDoWTZ2mb</a></td></tr><tr><td align="center"><strong>Funding</strong></td><td><a href="/pages/Pax0Kc9HJbgr25Tj3p2b">/pages/Pax0Kc9HJbgr25Tj3p2b</a></td></tr><tr><td align="center"><strong>Margin Modes</strong></td><td><a href="/pages/bpVACfsSe89fISPZHPsw">/pages/bpVACfsSe89fISPZHPsw</a></td></tr><tr><td align="center"><strong>Liquidation</strong></td><td><a href="/pages/6gsaeh5xe1xgf3xAwgrk">/pages/6gsaeh5xe1xgf3xAwgrk</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:

```
GET https://help.rails.xyz/trading/perpetuals.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
