> For the complete documentation index, see [llms.txt](https://www.bfm-unity.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.bfm-unity.org/antbot-doc/zh-cn/kuai-su-xue-xi/ru-he-bang-ding-bybit-api.md).

# 如何绑定Bybit API？

[Skip to content](https://www.antrade.io/guide/docs/cn/binding_bybit/#content)[AntBot | Crypto Trading Bot](https://www.antrade.io/guide/docs/cn/)[首页](https://www.antrade.io/guide/docs/cn/)[免费使用AntBot](https://antrade.io/)

* [Home](https://www.antrade.io/guide/docs/cn)
* [快速学习](https://www.antrade.io/guide/docs/cn/cn-1dnmtb50vo4uf/)
* [如何绑定Bybit API？](https://www.antrade.io/guide/docs/cn/binding_bybit/)

Search for:

快速学习

* * [启动机器人需要多少资金？](https://www.antrade.io/guide/docs/cn/how-much-capital-do-i-need-to-start-a-bot/)
  * [如何减少手币安交易手续费？](https://www.antrade.io/guide/docs/cn/reducing-trading-fees/)
  * [常见问题和解答](https://www.antrade.io/guide/docs/cn/frequently-asked-questions/)
  * [如何绑定欧易API？](https://www.antrade.io/guide/docs/cn/binding_okx/)
  * [如何绑定币安API？](https://www.antrade.io/guide/docs/cn/binding_binance/)
  * [如何绑定Bybit API？](https://www.antrade.io/guide/docs/cn/binding_bybit/)
  * [如何绑定火币 API？](https://www.antrade.io/guide/docs/cn/binding_huobi/)
  * [軟件內彈窗提示說明](https://www.antrade.io/guide/docs/cn/cn-1dpdt50h9f5om/)
  * [使用合約機器人需要注意哪些事項？](https://www.antrade.io/guide/docs/cn/cn-1dodlqdr1oqlj/)
  * [多少資金可以啟動多少個機器人？](https://www.antrade.io/guide/docs/cn/cn-1dodllk5easg6/)
  * [如何做資金規劃和倉位管理？](https://www.antrade.io/guide/docs/cn/cn-1dodkr7b4qkps/)
  * [机器人暂停原因](https://www.antrade.io/guide/docs/cn/cn-paused/)
  * [AntBot的常见问题](https://www.antrade.io/guide/docs/cn/faq/)
  * [歷史機器人停止原因](https://www.antrade.io/guide/docs/cn/cn-1do8ag27eusj1/)
  * [進行中的機器人狀態歸類](https://www.antrade.io/guide/docs/cn/cn-1do89q0srd22l/)
  * [新手如何绑定API并启动机器人](https://www.antrade.io/guide/docs/cn/beginner-guides/)

## 如何绑定Bybit API？

5月 ago[AntBot](https://www.antrade.io/guide/docs/cn/author/antbot/)1 minute

在开始之前，请确保你的现货账户（用于现货交易）和永续合约账户（用于合约交易）有充足的余额。如果账户余额不足，需要先进行划转操作。这样才能在小蚁顺利开启现货或者期货机器人。

<figure><img src="https://www.antrade.io/guide/docs/cn/wp-content/uploads/2023/03/%E5%BE%AE%E4%BF%A1%E5%9B%BE%E7%89%87_20230316114716.png" alt=""><figcaption></figcaption></figure>

<figure><img src="https://www.antrade.io/guide/docs/cn/wp-content/uploads/2023/03/%E5%BE%AE%E4%BF%A1%E5%9B%BE%E7%89%87_20230316113908.png" alt=""><figcaption></figcaption></figure>

<figure><img src="https://www.antrade.io/guide/docs/cn/wp-content/uploads/2023/03/%E5%BE%AE%E4%BF%A1%E5%9B%BE%E7%89%87_20230316113914.png" alt=""><figcaption></figcaption></figure>

**提示**

**1、请使用经典账户连接API Key。勿将账户升级为统一交易账户，升级之后将无法使用双向持仓。**\
**2、已升级完成的交易员可通过创建子账号重新连接API Key。**

**第一步**

**使用浏览器登录 Bybit 帐户后，点击右上角头像下拉菜单中的【API 管理】 选项。**

<figure><img src="https://www.antrade.io/guide/docs/cn/wp-content/uploads/2023/03/1001-1.png" alt=""><figcaption></figcaption></figure>

**第二步**

**点击API管理页上的【新建密钥】。**

<figure><img src="https://www.antrade.io/guide/docs/cn/wp-content/uploads/2023/03/1002.png" alt=""><figcaption></figcaption></figure>

**第三步**

**点击【系统生成的 API 密钥】。**

<figure><img src="https://www.antrade.io/guide/docs/cn/wp-content/uploads/2023/03/1003.png" alt=""><figcaption></figcaption></figure>

**第四步**

**填写创建信息，点击 【提交】。**

**输入小蚁完整的八个IP地址：**

**101.36.117.216,165.154.41.100,36.255.222.23,165.154.60.7,101.36.127.124,101.36.108.79,122.10.161.141,165.154.60.119,165.154.44.65**

<figure><img src="https://www.antrade.io/guide/docs/cn/wp-content/uploads/2023/03/1004.png" alt=""><figcaption></figcaption></figure>

**第五步**

**完成安全验证。**

<figure><img src="https://www.antrade.io/guide/docs/cn/wp-content/uploads/2023/03/1005.png" alt=""><figcaption></figcaption></figure>

**第六步**

**API创建成功 。请在确认前复制 API 密钥和 API 密钥密码。**

<figure><img src="https://www.antrade.io/guide/docs/cn/wp-content/uploads/2023/03/1006.png" alt=""><figcaption></figcaption></figure>

**第七步**

**返回小蚁的【绑定API】，粘贴API密钥和密钥密码，然后点击【导入】完成API绑定。**

<figure><img src="https://www.antrade.io/guide/docs/cn/wp-content/uploads/2023/03/%E5%9B%BE%E7%89%871.png" alt=""><figcaption></figcaption></figure>

<figure><img src="https://www.antrade.io/guide/docs/cn/wp-content/uploads/2023/03/%E5%9B%BE%E7%89%872.png" alt=""><figcaption></figcaption></figure>

现在开始您的交易之旅吧！启动机器人，体验智能交易的便利和高效！

[#AntBot](https://www.antrade.io/guide/docs/cn/tag/antbot/)@AntBot free trading bot\\
