> 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/perpetuals/hedge-mode.md). Agents can also search and read this documentation through its [MCP server](https://docs.asterdexcorp.com/~gitbook/mcp).

# Hedge Mode

### **What is Hedge Mode?**

Hedge Mode is a trading strategy that allows futures traders to manage and mitigate market risk by holding two opposing positions — a long and a short — under the same contract simultaneously. This lets you capitalize on market fluctuations from both directions while minimizing potential losses.

### **One-Way Mode vs. Hedge Mode**

#### **One-Way Mode**

In One-Way Mode, you can hold positions in only one direction per contract. If you open a position anticipating a move in one direction, you cannot simultaneously open an opposing position without first canceling or reducing the existing one.

#### **Hedge Mode**

Hedge Mode allows you to hold both long and short positions at the same time under the same contract. For example, you can maintain both long and short positions in a BTCUSDT contract simultaneously. This flexibility helps you adapt to market dynamics and manage risk across different timeframes.

### **How to Switch Between One-Way Mode and Hedge Mode**

1. Open the trading interface and click the Settings button.

<figure><img src="https://4068247257-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWhSHuKmgnGREbVb12PK2%2Fuploads%2FhfeBDVPFoV3Nhrox9fkS%2F%E6%88%AA%E5%B1%8F2025-08-18%2016.30.26.png?alt=media&amp;token=7535b602-c866-4239-98f8-4731f7e12057" alt=""><figcaption></figcaption></figure>

2. Click Position Mode to toggle between One-Way Mode and Hedge Mode.

<figure><img src="https://4068247257-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWhSHuKmgnGREbVb12PK2%2Fuploads%2FxfPhtTDDVq22Y7gZ7TvG%2F%E6%88%AA%E5%B1%8F2025-08-18%2016.28.17.png?alt=media&amp;token=d5f66bf6-f7ae-4f13-a8d6-2e58d728dede" alt=""><figcaption></figcaption></figure>

3. Select your preferred mode.

<figure><img src="https://4068247257-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWhSHuKmgnGREbVb12PK2%2Fuploads%2FRZl3jMhHcdY4PobquFtS%2F%E6%88%AA%E5%B1%8F2025-08-18%2016.31.46.png?alt=media&amp;token=44e27fc0-6def-46f4-a81c-ef8363132498" alt=""><figcaption></figcaption></figure>

Note: Position Mode cannot be changed while you have open positions or open orders.


---

# 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/perpetuals/hedge-mode.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.
