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

# Perpetuals

Perpetual futures will be fully onchain, high-performance derivative markets built directly into the Nexus Exchange.

Perpetual futures are derivative contracts that track the price of an underlying asset without requiring ownership of the asset itself. Traders gain continuous exposure by posting collateral, opening a leveraged position, and paying or receiving funding depending on market conditions.

These markets allow traders to take leveraged long or short positions on supported assets without expirations, while benefiting from deterministic execution, transparent accounting, and cryptographic verifiability at every step.

Unlike traditional perpetual DEXs that simulate a decentralized exchange on top of a general-purpose VM, Nexus will integrate financial primitives *natively at the protocol layer*. Matching, liquidation, margining, and funding rate calculations will run inside **NexusCore**, a high-throughput co-processor suite designed specifically for Internet-scale markets.

<br>


---

# 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.nexus.xyz/exchange/trading/perpetuals.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.
