# 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://1574671354-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQAglKSOJnxCrGxFyuplO%2Fuploads%2Fgit-blob-cd66fe1a6263318a4297e6393cc8ba17076106fe%2Fimage%20(4)%20(1).png?alt=media" alt=""><figcaption></figcaption></figure>

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

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://1574671354-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQAglKSOJnxCrGxFyuplO%2Fuploads%2Fgit-blob-18c734dec2722c5eb128d898461aeae216e2c8b4%2Fget-api-key.png?alt=media)

4\. **Generate your API key** and copy it carefully.

{% 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://1574671354-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQAglKSOJnxCrGxFyuplO%2Fuploads%2Fgit-blob-d80e46ad2020bfe2b4cd615b986a23b2de4cfee8%2Fcopy-api-key.png?alt=media)

5\. Launch [**FundX 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://1574671354-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQAglKSOJnxCrGxFyuplO%2Fuploads%2Fgit-blob-7641dd33a3d2ee1b5fb1f16ace90f4e7ffe53696%2Fconnection-to-oanda-via-quantower.png?alt=media)

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

![Error during connection to OANDA](https://1574671354-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQAglKSOJnxCrGxFyuplO%2Fuploads%2Fgit-blob-550513b4253d92fed26f08551dad99bfa7d1b521%2Fscreenshot_16.png?alt=media)

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.
