# 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="/files/DsnkS9JYxQPmYIvRELsv" 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](/files/-LZ9mD5wyaUtQP3Tkiu7)

&#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](/files/-LZ9zOxurAhhrVUgsTya)

&#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](/files/-LZA22UjWlco7CrWBXsq)

### 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](/files/-LwNNYfoqky8BlH_5UTf)

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.


---

# 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.quantower.com/quantower/connections/connection-to-oanda.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.
