> For the complete documentation index, see [llms.txt](https://docs.asterdexcorp.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.asterdexcorp.com/trading/shield-mode/user-tutorial.md). Agents can also search and read this documentation through its [MCP server](https://docs.asterdexcorp.com/~gitbook/mcp).

# User Tutorial

## **How it Works**

Shield Mode differs from Aster Perpr, offering an easier, faster, and more streamlined trading experience. Users can trade more quickly and find it simpler to operate and start trading. Some guidelines:

**Long:** Indicating an uptrend. If users expect the price to increase, they can select LONG as the direction. Users will then gain profit when the price rises.

**Short:** Indicating a downtrend. If users expect the price to decrease, they can select SHORT as the direction. Users will then gain profit when the price drops.

**Leverage:** The minimum leverage supported in Perp Shield is 20x, while the highest leverage is 1001x. The higher the chosen leverage, the greater the risk.

**Funding Rate:** The Funding Rate is calculated hourly. It may be adjusted based on market performance.

**Note**:

* The higher the leverage of the positions, the greater the risk. Users will be charged a funding fee if they hold a position for more than 1 hour. The funding rate and funding fee, which users pay to (or receive from) traders on the opposite side of the trade, depend on market conditions.
* To maintain market stability, if a user's profit from a single position trading pair exceeds the threshold, the system will automatically close the position for the user. After settling without any issues, the system will release the profit funds to the user.

#### **Automatic close threshold:**

* BTC symbol≥ 50,000 USDT
* ETH symbol≥ 50,000 USDT
* RWA symbol≥ 3000 USDT
* Stocks symbol≥ 3000 USDT

### **Calculation of Profit and Loss (PNL), Return on Equity (ROE), and Liquidation Price**

**PNL** = Size of position × (Mark Price - Entry Price) × Direction

**Size of position** = Initial Margin × Leverage / Entry Price

If the position direction is LONG, the calculation of position direction will be 1, whereas if the position direction is SHORT, the calculation of position direction will be -1.

**ROE%** = PNL / Initial Margin

#### **Example**

**Unrealized PNL** =  (5\*200/26,266) \*(26,250 - 26,266) = - 0.6091 USDT

**ROE%** = - 0.6091/5 = -12.18%

**Forced Liquidation Price** = (Position Size \* Open Price - Accumulated Funding Rate - Initial Margin \* Liquidation. Lost Rate) / Position Size \* Position Direction


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.asterdexcorp.com/trading/shield-mode/user-tutorial.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
