# 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-index-was-outside-the-bounds-of-the-array)
* [**Error "This account is only allowed to liquidate open positions"**](#error-this-account-is-only-allowed-to-liquidate-open-positions)
* [**Chart Data is incorrect or has gaps**](#chart-data-is-incorrect-or-has-gaps)
*

```
[**Can not find a symbol**](errors-with-cqg.md#can-not-find-a-symbol)
```

* [**Error "Refuse: End of Day is not allowed for given data type"**](#error-end-of-day-is-not-allowed-for-given-data-type)
* [**Error "Username or password is incorrect"**](#error-username-or-password-is-incorrect)
* **Error "Refuse: Can not route the order at this time"**

## Error "Index was outside the bounds of the array"

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.***

![](https://1574671354-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQAglKSOJnxCrGxFyuplO%2Fuploads%2Fgit-blob-9d94a56b4fb25b55d027b0aa7a62b319f48c31e1%2Fimage%20\(159\).png?alt=media)

## Error "This account is only allowed to liquidate open positions"

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

![](https://1574671354-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQAglKSOJnxCrGxFyuplO%2Fuploads%2Fgit-blob-a5996374ed7593eddc31bab37c4de4d997ca2554%2Fimage%20\(162\).png?alt=media)

## Chart Data is incorrect or has gaps

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://1574671354-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQAglKSOJnxCrGxFyuplO%2Fuploads%2Fgit-blob-f28e5a58d40613e1c6c101f75d55cd165f0374e6%2Fimage%20\(166\).png?alt=media)

## Can not find a symbol

![](https://1574671354-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQAglKSOJnxCrGxFyuplO%2Fuploads%2Fgit-blob-8676b3fbe5f9faa70f550e05df9be3c5d4041652%2Fimage%20\(158\).png?alt=media)

* 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://1574671354-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQAglKSOJnxCrGxFyuplO%2Fuploads%2Fgit-blob-67923637ff9c8204f8f18cdfa145cff3f61cf21f%2Fimage%20\(160\).png?alt=media)

* 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://1574671354-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQAglKSOJnxCrGxFyuplO%2Fuploads%2Fgit-blob-9bb541827186a110fac2aa3ef7532a65131f4e85%2Fdelete-temp-folder.gif?alt=media)

## Error "End of Day is not allowed for given data type"

Sometimes this error occurs for new demo accounts. We recommend **contacting AMP support staff** or to support of a prop company (like SpeedUP trader).

## Error "Real-time data for instrument XXXX are not allowed"

This error usually occurs for new demo accounts

![](https://1574671354-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQAglKSOJnxCrGxFyuplO%2Fuploads%2Fgit-blob-a727f66f922d5072ea39ca122b71e30af0977aac%2Fimage%20\(222\).png?alt=media)

## Error "Username or password is incorrect"

This error can occur for several reasons:\
\
1\) Please check that you entered your Login and Password correctly.\
2\) Please check that you use your credentials for the correct connection — Demo or Real.\
3\) Demo account expired.\
4\) If you use a Real account, please contact your broker about this issue.

![](https://1574671354-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQAglKSOJnxCrGxFyuplO%2Fuploads%2Fgit-blob-0bdf2b4c8d119d8bb297f57a16cd35f41342d67d%2Fimage%20\(266\).png?alt=media)

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

Usually such error appears when the market is closed and CQG can not process the order

![](https://1574671354-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQAglKSOJnxCrGxFyuplO%2Fuploads%2Fgit-blob-2cee66bcf233d5bfa4f4c19b49c15a859c16f0e7%2Fimage%20\(345\)%20\(1\)%20\(1\).png?alt=media)
