# How will the bot buy and sell when I will change the grid settings in an already active strategy?

When changing the grid in a strategy that already has purchased positions, the bot will buy and sell new positions according to the new grid. Old positions will be closed according to the originally set parameters.


---

# Agent Instructions: 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:

```
GET https://hash7-gitbook.gitbook.io/en/faq/trading-bots-strategies/how-will-the-bot-buy-and-sell-when-i-will-change-the-grid-settings-in-an-already-active-strategy.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
