> For the complete documentation index, see [llms.txt](https://edgex-1.gitbook.io/edgex-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://edgex-1.gitbook.io/edgex-documentation/trading/stock-perpetual.md).

# Stock Perpetual

Before you start trading Stock Perpetuals, please read the following trading rules carefully. These contracts are linked to underlying equity assets. During weekends and market holidays when the stock markets are closed, the trading mechanisms will be adjusted as follows:

#### 1. Trading Hours & Market Status

* 24/7 Trading: The perpetual market remains open 24/7, but price and volatility are significantly influenced by the status of the underlying stock market.
* Market Status: The system determines the current status as "Market Open" or "Market Closed" in real-time, based on the official trading schedule of the relevant stock markets.

#### 2. Special Rules During Weekends & Holidays

**2.1 Order Types**

To protect your assets from abnormal price fluctuations caused by low liquidity when the stock market is closed, the following rules apply:

* Market Orders Rejected: The system will reject all Market Orders.
* Limit Orders Only: Only Limit Orders are supported, and the limit price must fall within the designated price range.
* Conditional Orders: All Conditional Orders (including Take Profit & Stop Loss (TP/SL), Conditional Limit Orders, and Conditional Market Orders) triggered during market closed period must follow the same rules: Market orders will be rejected, and Limit orders outside the price range will also be rejected.

**2.2 Price Range & Mark Price**

Price range Calculation:

* Formula: Long price upper limit is Last Closing Index Price × (1 + 1 / Max Leverage of the pair); Short price lower limit is Last Closing Index Price × (1 - 1 / Max Leverage of the pair).
* *Example: If the maximum leverage for a perp trading pair is 10x and the last closing Index Price is $100, buy limit orders cannot exceed $110 and sell limit orders cannot be below $90 during market closure.*

Mark Price Adjustment:

* During market closure, the Mark Price is also restricted within the price range.
* Clamping Mechanism: The price change is limited to 0.5% every 3 seconds.

#### 3. Risk Disclosure

* Order Execution Risk: Orders placed or triggered during weekends or holidays may be rejected if they do not meet the criteria mentioned above.
* Price Deviation Risk: During market status transitions or periods of extreme volatility, the contract price may temporarily deviate from the external spot price.
* Liquidation Risk: If your margin is insufficient, you may face the risk of forced liquidation


---

# 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://edgex-1.gitbook.io/edgex-documentation/trading/stock-perpetual.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.
