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

# Fees

#### The three costs of a trade

* **Open/Close Fees** — a flat percentage of position size, charged when opening and when closing
* **Trade Spread** — a size-based spread applied on entry **and** exit
* **Margin (Borrow) Fees** — continuous fees on open positions based on pool utilization

The order panel shows your exact fees before you confirm any trade — that readout is always the authority for your specific order.

***

#### Open/Close fees by market

Fee rates are per-market protocol parameters. Current on-chain values (as of 2026-07-03; parameters are tuned over time — the trade panel always shows the live rate):

| Markets                                                        | Open/Close fee    |
| -------------------------------------------------------------- | ----------------- |
| Majors — SOL, BTC, ETH, ZEC, BNB and other Crypto Pool markets | 0.02%             |
| Forex, metals, commodities (Gold Pool markets)                 | 0.02%             |
| Equities (Equity Pool markets)                                 | 0.02% (AMD 0.05%) |
| HYPE                                                           | 0.02%             |
| JUP, JTO                                                       | 0.1%              |
| Meme markets — BONK, PENGU, PUMP, WIF, FARTCOIN                | 0.1%              |
| KMNO, PYTH                                                     | 0.2%              |
| ORE                                                            | 0.5%              |

***

#### Trade spread

A size-based spread applies to the execution price — larger positions cross more spread. Two things matter:

* **It is charged on both legs**: you pay spread when you open and again when you close. A take-profit target needs to clear roughly two spreads before the position is net positive.
* **It varies per market and with market conditions.** The order panel's entry price already includes it — compare the entry price against the oracle price to see the spread you're paying.

***

#### Margin fees

Margin fees accrue continuously on open positions, calculated from pool utilization:

$$
MarginFee/Hr = \frac{\text{Utilization %}}{\text{100%}}(\frac{\text{Step2%}}{hour}) :\ \text{ Utilization %} \geq \text{72%}
$$

* Below the 72% optimal-utilization threshold, margin fees scale linearly with utilization
* Above the threshold, the step rate increases to incentivize liquidity
* A 90% utilization cap applies across all pools

{% hint style="info" %}
**Current rates are always visible before you trade.** Margin fee per hour for any market shows in the order panel (and on your open positions) — rates move with pool utilization in real time.
{% endhint %}

***

#### Collateral-swap fees

When your deposit is converted into a position's backing asset (see Collateral Specification), a pool swap fee applies, calculated from pool balance ratios — depositing an underweight asset is cheaper:

$$
SwapFee\_{paying}=M(Ratio)+b
$$

$$
\ M = \frac{Fee\_{target}-Fee\_{min}}{Ratio\_{target}-Ratio\_{min}} \qquad b=Fee\_{min}-M(Ratio\_{min})
$$

This pool-level conversion is different from the Swap page in the app, which routes spot swaps through Jupiter.

#### USDC Special Fee Structure

| Component             | Fixed Fee |
| --------------------- | --------- |
| Add/Mint Liquidity    | 0 bps     |
| Remove/Burn Liquidity | 15 bps    |

***

{% hint style="warning" %}
**xStocks — Important Restrictions**

xStocks are tokenized equity products issued by Backed Assets (JE) Limited, now part of the Kraken group. xStocks are **not marketed, offered, or solicited to U.S. persons or within the United States**, nor in any jurisdiction subject to international sanctions or where such activity is otherwise prohibited.

xStocks do not represent direct ownership of the underlying shares. Trading involves risk of loss, and past performance is not indicative of future results.
{% endhint %}


---

# 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.flash.trade/flash-trade/flash-trade-protocol/perpetuals-specifications/fees.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.
