# Connection to OANDA

{% hint style="warning" %}
OANDA doesn't provide tick data for Volume Analysis Data, that's why Volume Profiles or Footprint chart can not be used under this connection.
{% endhint %}

This guide helps you in a few simple steps to configure the connection to OANDA with the correct settings.

1. Open real or demo trading account with OANDA on their [**official website**](https://www.oanda.com/).

<figure><img src="https://4186075531-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LD6FsRvQ3jgwJIg6O7r%2Fuploads%2F82eVXE59g0KtUK2aIxKj%2Fimage.png?alt=media&#x26;token=b970ff4a-1b6b-4dcf-acb5-14b6a68b2550" alt=""><figcaption></figcaption></figure>

&#x20;   2\. After completing the registration and confirming your account, **go to your OANDA account**. To do this, use your *Username* and *Password*.

&#x20;   3\. Click on **Manage API Access** in *My Services* to get a unique API key (Token API) in your personal cabinet.

![Get your personal API key](https://4186075531-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LD6FsRvQ3jgwJIg6O7r%2F-LZ9L529YRTwnnGWp1Va%2F-LZ9mD5wyaUtQP3Tkiu7%2FGet%20API%20key.png?alt=media\&token=55359250-e92d-49cb-8252-7f1b9c994dd7)

&#x20;   4\. **Generate your API key** and copy it carefully.&#x20;

{% hint style="success" %}
In case you have forgotten or lost your API key, you can create a new one at any time. To do this, click the **Revoke** button.
{% endhint %}

![Generate and copy your API key](https://4186075531-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LD6FsRvQ3jgwJIg6O7r%2F-LZ9wBYAT8CFtHdAD7cP%2F-LZ9zOxurAhhrVUgsTya%2FCopy%20API%20key.png?alt=media\&token=4cdd7082-31c6-4fe0-aee8-0cbd102fa2af)

&#x20;   5\. Launch [**Quantower platform**](https://www.quantower.com/) and select OANDA from the connection list. Choose demo or real connection and insert the API key.

![Connect to OANDA using your API key](https://4186075531-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LD6FsRvQ3jgwJIg6O7r%2F-LZ9wBYAT8CFtHdAD7cP%2F-LZA22UjWlco7CrWBXsq%2FConnection%20to%20OANDA%20via%20Quantower.png?alt=media\&token=00263a86-b40f-4fc1-afd1-5508f29696e9)

### Issues with connection

Sometimes OANDA cannot authorize users through API Key and you can see the message: *"**Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index"***.&#x20;

![Error during connection to OANDA](https://4186075531-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LD6FsRvQ3jgwJIg6O7r%2F-LwNIEliL4oq1SMRVaQ-%2F-LwNNYfoqky8BlH_5UTf%2FScreenshot_16.png?alt=media\&token=4c90b56d-1a18-4903-99c5-39b484bd1204)

To solve this issue, just click on the **Back** button and try to connect again. In most cases, the API key will be accepted and you will be successfully connected.
