> For the complete documentation index, see [llms.txt](https://docs.flowx.finance/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.flowx.finance/protocol/perpetuals/funding-rate.md).

# Funding Rate

### What is the funding rate? <a href="#what-is-the-funding-rate" id="what-is-the-funding-rate"></a>

In perpetual futures contracts, the funding rate is a periodic payment exchanged between traders holding long and short positions. This mechanism helps ensure that the contract price stays close to the underlying spot market price.

* Positive funding rate: When the contract price is above the mark price, long traders pay short traders.
* Negative funding rate: When the contract price is below the mark price, short traders pay long traders.

### Funding Amount

The funding amount is how much you will actually pay or receive based on the funding rate.

Funding amount = Position size × Mark price × Funding rate

This value is transferred between long and short traders depending on the direction of the funding rate. **FlowX does not charge or receive funding** — it is a peer-to-peer transfer.

<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:

```
GET https://docs.flowx.finance/protocol/perpetuals/funding-rate.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.
