# Fee

The trading fee system of zkDX is as follows:

## **Opening Position fee**

When opening a position, 0.1% of the position size is charged as the opening position fee

## **Closing Position fee**

When closing a position, 0.1% of the position size is charged as a closing position fee

Additionally, zkDX NFT holders have a discount on trading fees

Lv1 NFT, trading fee: 0.09% \
Lv2 NFT, trading fee: 0.075% \
Lv3 NFT, trading fee: 0.05% \
Lv4 NFT, trading fee: 0.03% \
Lv5 NFT, trading fee: 0.025%

## **Liquidity Borrowing Ratio**

At the beginning of each hour, the "liquidity borrowing ratio" will be deducted as the fee paid to your counterparty. The hourly fee will vary based on usage and is based on (Borrowed Assets) / (Total Assets in the Pool) \* 0.01%.

## **Liquidity Balance Ratio**

In order to balance the long and short positions, the system calculates the liquidity balance rate based on the long and short positions, as well as the total liquidity, and automatically rebalances the supply and demand to create permanent liquidity. At the beginning of each hour, the previous hour's liquidity balancing ratio will be deducted, and this ratio will be updated based on current data.

In the future, after adding more trading pairs, different trading products will have different position limits and fee ratio adjustments according to their liquidity. The worse the liquidity, the lower the position that can be traded, and the higher the fee ratio.


---

# 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.zkdx.io/litepaper/fee.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.
