> ## Documentation Index
> Fetch the complete documentation index at: https://docs.polymarket.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Overview

> The market mechanics behind Perps trading

Perps markets follow a small set of system rules. This section explains how
those rules work so you can anticipate how positions are valued, when they are
at risk, and why account balances change.

> **[Architecture](/perps/learn-about-trading/architecture)**
>
> How offchain matching and onchain settlement fit together.

> **[Markets](/perps/learn-about-trading/markets)**
>
> Available Perps markets and the parameters that shape trading.

> **[Fees](/perps/learn-about-trading/fees)**
>
> What each fill costs and how the volume-based fee tiers work.

> **[Margin](/perps/learn-about-trading/margin)**
>
> Equity, initial margin, maintenance margin, and margin states.

> **[Liquidation Mechanics](/perps/learn-about-trading/liquidation-mechanics)**
>
> How liquidation is detected, executed, and backstopped.

> **[Funding](/perps/learn-about-trading/funding)**
>
> How funding rates are computed and settled against open positions.

> **[Mark Price](/perps/learn-about-trading/mark-price)**
>
> How the price used for margin, PnL, and liquidation is computed.

> **[Index Price](/perps/learn-about-trading/index-price)**
>
> How the underlying's fair value is sourced and aggregated.

> **[Market Sessions](/perps/learn-about-trading/market-sessions)**
>
> How session state affects pricing feed selection.

> **[Geographic Restrictions](/api-reference/perps/geographic-restrictions)**
>
> Where order placement is restricted.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.