> For the complete documentation index, see [llms.txt](https://docs.helixapp.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.helixapp.com/trading/grid-trading.md).

# Grid Trading

### **What is Grid Trading?**

Grid trading is an automated strategy that places buy and sell orders at predefined price intervals within a specified range. It generates profit by capitalizing on price oscillations, making it effective in both trending and ranging markets.

{% embed url="<https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7eHQ0oqbU5OAi8PxyRjr%2Fuploads%2FhLrziz68vS31tBNGGuB2%2FStrategy-Trading---Spot-Grid-Trading%20(1).gif?alt=media&token=93556d61-9463-40b6-97d1-8d5ec8db4465>" %}

### **How Grid Trading Works on Helix**

1. **Define Your Grid**
   * Set the **price range** (upper and lower bounds).
   * Choose the **number of grids** to divide the range into equal price intervals.
2. **Initial Balance Setup**
   * Deposit both base and quote assets.
   * Initial market orders rebalance your assets to match the grid strategy, ensuring optimal performance.
   * **Example**: For a $1800–$2200 ETH/USDT grid, the bot adjusts your assets to match the grid's middle point.
3. **Automated Trading**
   * Places **buy orders** at lower grid levels and **sell orders** at upper levels.
   * Continuously rebalances positions as the market moves.
4. **Profit Generation**
   * Profits are realized each time the price crosses a grid line.
   * Earn from market volatility, with profits accumulating in both base and quote assets.

{% hint style="info" %}
Grid trading is only available via trading bots on Helix. To learn more, visit [Trading Bots](/trading-bots.md).
{% endhint %}


---

# 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://docs.helixapp.com/trading/grid-trading.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.
