# Binance

This manual serves as a guide to connect Binance exchange to the ATAS platform.

{% hint style="warning" %}
Important! To trade through ATAS, you need to activate the one-way position mode. Hedging mode is not available in ATAS.&#x20;
{% endhint %}

*You can change the position mode on the exchange in the chart settings:*

<figure><img src="https://3095753190-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhMlO74lsSnDKFkMvdN10%2Fuploads%2F6cnWGwWo2Yk6SmQCW5xb%2F1.png?alt=media&#x26;token=f1aa51a7-f0b8-4526-bdd3-1a616ec817b8" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3095753190-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhMlO74lsSnDKFkMvdN10%2Fuploads%2FVn8qZE4kPB0BXlhKPc2l%2F2.png?alt=media&#x26;token=750bfaca-761b-4368-a0fc-3475cd4cd0fa" alt=""><figcaption></figcaption></figure>

1\) To connect your account in ATAS, you need to create an API key. You can do this in your personal account.

2\) API limitations and settings on the exchange for successful connection in ATAS:

Unlimited access by IP (for dynamic IP addresses) - you need to uncheck the box at the top of the API key list to activate spot and futures.

<figure><img src="https://3095753190-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhMlO74lsSnDKFkMvdN10%2Fuploads%2FFOpesZfxPVw66sDb5ACU%2F3.png?alt=media&#x26;token=d3690c05-4f6e-4b28-914c-875d15fc329d" alt=""><figcaption></figcaption></figure>

3\) Connect your account using the generated keys in ATAS. To do this, in the platform's main window, click on ***Connections - Add - Binance***, and then click the ***Next*** button.

<figure><img src="https://3095753190-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhMlO74lsSnDKFkMvdN10%2Fuploads%2FNukcXmKafLCoUzwu7CK3%2F4.png?alt=media&#x26;token=957a7fb2-cd48-4085-83f4-adc745393fa7" alt=""><figcaption></figcaption></figure>

Next, a window will open for you to sign the agreement:

<figure><img src="https://3095753190-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhMlO74lsSnDKFkMvdN10%2Fuploads%2FjM6ekhq47DX0iPiVBHCm%2F5.png?alt=media&#x26;token=073c86aa-29de-4500-8e79-566cd9f61cad" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
OCO (one cancels other) orders for Binance connection are emulated locally on your computer. This means that the platform must be connected to your broker for OCO orders to function properly. If you are disconnected and one of the OCO orders gets filled, the rest of the orders in that group WILL NOT be cancelled!
{% endhint %}

4\) Setting up the connection in ATAS.

<figure><img src="https://3095753190-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhMlO74lsSnDKFkMvdN10%2Fuploads%2FbZC7di3uylyB7IvA7cYA%2F6.png?alt=media&#x26;token=b71e241c-6cb5-48d4-89b4-4ca0ebbf3a2b" alt=""><figcaption></figcaption></figure>

***API key, Secret key*** - keys generated on the website.

***Use the test environment*** - activate this option if you are connecting a testnet account.

To activate a ***futures, spot***, or ***margin account***, you need to check the boxes in the connector settings.

\*After configuring the connection, it will appear as a separate line in the list of connections:

<figure><img src="https://3095753190-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhMlO74lsSnDKFkMvdN10%2Fuploads%2FvRXfRbvJ9eLIX9yGqoYe%2F7.png?alt=media&#x26;token=bbd40199-0f32-4bc7-874b-f64807f0d8d2" alt=""><figcaption></figcaption></figure>

1\. **Add** – add a new connection.

2\. **Type** – connection source.

3\. **Name** – connection name which you can set yourself.

4\. **Status** – connection status.

5\. **Quote Provider** – option to select a quote provider (this connection will be used as a quote provider).

6\. **Auto-Connect** – if you want the connection to automatically occur when the platform is launched, you need to enable this option.

7\. **Connection settings button.**

8\. **Remove connection from the list button.**

9\. **Connect/Disconnect** – connect/disconnect the connector.

{% hint style="info" %}
You can read about the settings of this window at the following link: [Connection Settings Window](https://help.atas.net/en/support/solutions/articles/72000612212)
{% endhint %}


---

# 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://start.atas.net/step-4.-connect-your-account/crypto/binance.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.
