# Errors with CQG

Here is the list of the most common errors and issues with CQG connection:

* **Error "Index was outside the bounds of the array"**
* **Error "This account is only allowed to liquidate open positions"**
* **Chart Data is incorrect or has gaps**
*

```
**Can not find a symbol**
```

* **Error "Refuse: Can not route the order at this time"**

## Error "Index was outside the bounds of the array" <a href="#error-index-was-outside-the-bounds-of-the-array" id="error-index-was-outside-the-bounds-of-the-array"></a>

This error can occur when the Internet connection is weak, or when there is an error during loading the symbol files. ***To solve it, click Back and try to connect again.***

![](/files/-MZJzVpC7vrODqAgnQke)

## Error "This account is only allowed to liquidate open positions" <a href="#error-this-account-is-only-allowed-to-liquidate-open-positions" id="error-this-account-is-only-allowed-to-liquidate-open-positions"></a>

This error occurs when trading on your account has been **restricted by a Broker** due to reaching the loss limit or for other reasons. To resolve this issue, please contact your Broker.

![](https://gblobscdn.gitbook.com/assets%2F-LD6FsRvQ3jgwJIg6O7r%2F-MXCfICQ14W1oa5cF2my%2F-MXCfZC829uUyrYDkVnt%2Fimage.png?alt=media\&token=5b3aee47-7671-4ed3-86f3-2f4772744534)

## Chart Data is incorrect or has gaps <a href="#chart-data-is-incorrect-or-has-gaps" id="chart-data-is-incorrect-or-has-gaps"></a>

Sometimes, non-market gaps can occur due to a weak Internet connection, a broken connection to your data provider, or other reasons. To solve this problem, **Right-click on the chart** and select **Reload history (server).**

![](https://gblobscdn.gitbook.com/assets%2F-LD6FsRvQ3jgwJIg6O7r%2F-MXCjJI8s2IC_BV1gVpj%2F-MXCoM8M8ZibMz2Oy1V9%2Fimage.png?alt=media\&token=7743e2e7-0a63-426d-99be-55ac39d761d3)

## Can not find a symbol <a href="#can-not-find-a-symbol" id="can-not-find-a-symbol"></a>

![](https://gblobscdn.gitbook.com/assets%2F-LD6FsRvQ3jgwJIg6O7r%2F-MX7ygYB_VfanQ_-LnBM%2F-MX87nP94V8eoZJL2MKD%2Fimage.png?alt=media\&token=e793a2c0-e081-402e-912c-b8a90dc7cecb)

* Make sure that you typed the correct ticker (symbol) for CQG connection.
* If the symbol is typed correctly, check in the **connection settings** that the required exchange is activated. If the exchange is disabled, you should activate it and then start searching for the desired symbol again.

![](https://gblobscdn.gitbook.com/assets%2F-LD6FsRvQ3jgwJIg6O7r%2F-MX7ygYB_VfanQ_-LnBM%2F-MX890dABU1D37QsoXr9%2Fimage.png?alt=media\&token=bc426f50-c385-4167-bf5e-5b96760ce3df)

* If the correct symbol cannot be found even with an active exchange, it is necessary to re-download the list of symbols from the CQG servers. Open the main platform folder and clear the Temp folder where the CQG symbols are stored. Delete the entire CQG folder and reconnect.

![](https://gblobscdn.gitbook.com/assets%2F-LD6FsRvQ3jgwJIg6O7r%2F-MX7ygYB_VfanQ_-LnBM%2F-MX8Ck81KtV4jUw5LAbz%2Fdelete%20temp%20folder.gif?alt=media\&token=79e216e1-3cbd-493a-88a5-9c11174221f8)


---

# 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://help.ampfutures.com/trading-platforms/quantower/connections/connection-to-cqg-amp-futures/errors-with-cqg.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.
