# Binance

{% hint style="success" %}
尚未拥有Binance账户？请通过专属链接注册：[accounts.binance.com/register?ref=YO4MVRZB](https://accounts.binance.com/register?ref=YO4MVRZB) ，即可享受交易手续费折扣：自主管理现货账户手续费立减20%，期货账户手续费立减10%。
{% endhint %}

{% hint style="info" %}
如果您还没有账户，可以通过以下链接在交易所注册（通过该链接注册时，您可以享受现货交易佣金折扣 - 20%，期货交易佣金折扣 - 10%）。
{% endhint %}

登录Binance账户后，进入"账户"选项卡并切换至"API管理"模块。

<figure><img src="/files/Xs38VQnNBJ9d5wB0Uh8f" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/0C5WbxKKL8qvTnuuUp2R" alt=""><figcaption></figcaption></figure>

1. 要连接 ATAS 账户，您需要创建一个 API 密钥。您可以在个人账户中进行此操作。
2. 在 ATAS 中成功连接交易所的 API 限制和设置：\
   无限制 IP 访问（针对动态 IP 地址） - 您需要取消 API 密钥列表顶部的复选框，以激活现货和期货。

<figure><img src="/files/ojaCdktzceQyQA5DjKgX" alt=""><figcaption></figcaption></figure>

3. 使用 ATAS 中生成的密钥连接您的账户。为此，请在平台主窗口中点击 "连接"-"添加"-"Binance"，然后点击 "下一步 "按钮。

<figure><img src="/files/UHx3xMdLUXldW1FXqkNv" alt=""><figcaption></figcaption></figure>

接下来，将打开一个窗口供您签署协议：

<figure><img src="/files/kFbFijGrPP2Amq5nsCcD" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Binance 连接的 OCO（一个取消另一个）订单在您的计算机上进行本地模拟。这意味着平台必须连接到您的经纪商，OCO 订单才能正常运行。如果您断开连接，其中一个 OCO 订单成交，该组中的其他订单不会被取消！
{% endhint %}

4. 在 ATAS 中设置连接。

<figure><img src="/files/BlZOxWK0eRe2ujYaeis2" alt=""><figcaption></figcaption></figure>

**API 密钥**、**秘钥** - 在网站上生成的密钥。\
**使用测试环境** - 如果要连接测试网账户，请激活此选项。\
要激活期货、现货或保证金账户，需要勾选连接器设置中的复选框。\
\*配置连接后，它将作为单独一行出现在连接列表中：

<figure><img src="/files/YIcF9l5vrMGzQ13u5OfP" alt=""><figcaption></figcaption></figure>

1. 添加 - 添加新连接。
2. 类型 - 连接源。
3. 名称 - 连接名称，可自行设置。
4. Status - 连接状态。
5. 报价提供商 - 选择报价提供商的选项（此连接将用作报价提供商）。
6. 自动连接 - 如果希望在平台启动时自动连接，则需要启用此选项。
7. 连接设置按钮。
8. 从列表中删除连接按钮。
9. 连接/断开连接 - 连接/断开连接器。

{% hint style="info" %}
您可以通过以下链接了解该窗口的设置： [连接设置窗口](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/cn/di-si-bu-zi-zhu-lian-jie-jiao-yi-zhang-hu/jia-mi-huo-bi/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.
