# Mark Price in Perpetual Futures Contracts

The way the Mark Price is calculated is closely correlated with the funding rate and vice versa. We strongly recommend that you carefully read the two articles on "Mark Price" and "Funding Rate" to gain a full understanding of how the Futures trading system works.

As Unrealized PnL is the primary driver of liquidations, it's important to ensure that Unrealized PnL is accurately calculated in order to avoid unnecessary liquidations. The core basis of a Perpetual Contract is the intrinsic or "true" value of the Contract. The “Price Index,” which is the primary component of the Mark Price, is an average of the prices on the major mainstream markets.

The Price Index is a composite index derived from a basket of prices from various major Spot Market exchanges, weighted by their respective trading volumes. Referenced trading markets include: ***Binance, Huobi, Bittrex, HitBTC, Gate.io, Bitmax, Poloniex, FTX, and MXC.***

As Position Exchange's Perpetual Trading Protocol is running fully on chain. We're using the mark price source from Chainlink, because it is currently the most battle-tested Oracle solution on the market.


---

# Agent Instructions: 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.position.exchange/products/trading-protocol/position-exchange-protocol-and-vamm/mark-price-in-perpetual-futures-contracts.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.
