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

# Auto Grid Trading

1. Navigate to the right sidebar of the Futures Grid trading interface.
2. On the \[Auto] tab, review the recommended parameters and set your \[Initial Margin].

<figure><img src="https://4068247257-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWhSHuKmgnGREbVb12PK2%2Fuploads%2FKmCqWttJsjbvHYZA0z7O%2F%E6%88%AA%E5%B1%8F2025-05-15%2017.26.38.png?alt=media&amp;token=c7877ff5-9bb7-4e0d-85da-183a3e4231c2" alt=""><figcaption></figcaption></figure>

\
3\. Click \[Create] and confirm your grid order. The system automatically places buy and sell orders at the preset prices.

<figure><img src="https://4068247257-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWhSHuKmgnGREbVb12PK2%2Fuploads%2FjMSpalWPHjBK2Dzt31E6%2F%E6%88%AA%E5%B1%8F2025-05-15%2017.27.03.png?alt=media&amp;token=5f5a659a-04b9-4165-b618-7c5d1c0b8027" alt=""><figcaption></figcaption></figure>

**Note:** The auto parameters function will not work if there is insufficient trading history for a given asset. In that case, set parameters manually or click \[Copy parameters to Manual settings] to adjust the lower price, upper price, and grid number.

### How Auto Parameters Are Calculated

#### Upper & Lower Price (Bollinger Bands) <a href="#a398" id="a398"></a>

* Upper Band = MA + bbm \* Standard Deviation
* Lower Band = MA — bbm \* Standard Deviation

#### Grid Number <a href="#id-5684" id="id-5684"></a>

Grid Number = (grid\_upper\_limit — grid\_lower\_limit)/ATR

\*Average True Range (ATR) for the past pre-defined hours of the selected symbol

**Risk Reminder:** Grid trading is a strategic tool and should not be considered financial or investment advice from Aster. If your grid settings are unreasonable, you may not capture grid revenue when the market moves in one direction outside your set range. Adjust your strategy based on current market conditions. Grid trading is used at your own discretion and risk. Aster is not liable for any losses arising from the use of this feature.


---

# 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/grid-trading/auto-grid-trading.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.
