> For the complete documentation index, see [llms.txt](https://support.moonshot.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://support.moonshot.com/trade/leverage/fees.md).

# Fees

When you trade with leverage, you pay two types of fees. The **transaction fee** is a flat charge each time you open or close a position. The **borrowing fee** accrues over time based on the amount you’ve borrowed. Together, they make up the total cost of trading with leverage.

### Transaction fees

| Trade size | Fee                        |
| ---------- | -------------------------- |
| $5-$100    | 0.20% with a $0.25 minimum |
| >$100      | 0.10%                      |

{% hint style="info" %}
Fees subject to change - see [Terms](https://moonshot.com/terms) for more
{% endhint %}

### Leverage fees&#x20;

When you open a leveraged position, you’re borrowing from a liquidity pool to increase your exposure. That borrowing comes with a cost: **borrowing fees,** designed to reward liquidity providers for supplying assets and to keep the system healthy as traders take on leverage.\
\
Instead of long vs. short funding payments, as some exchanges do, we use a straightforward borrow-fee model. Borrowing fees compound hourly based on the amount you’ve borrowed, and may change over time based on market conditions. \
\
These are outstanding fees that are accumulated over the total time your position is open, and are paid the next time you modify or close your position. If unpaid fees get too close to your position's value, your position will be liquidated to cover them.&#x20;


---

# 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://support.moonshot.com/trade/leverage/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.
