Skip to content


Support Hummingbot

Hummingbot Foundation has a fee share partnership with HTX. When you use our software to trade on HTX, a custom API header tells Huobi that the trade was executed using Hummingbot, so they share a portion of your fees with us, at no cost to you. To support us, just enter your API keys into Hummingbot and run bots! Thanks for your support! 🙏

🛠 Connector Info

  • Exchange Type: Centralized Exchange (CEX)
  • Market Type: Central Limit Order Book (CLOB)
Component Status Connector Version V2 Strategies Notes
🔀 Spot Connector v2.0 No market order type not supported
🔀 Perp Connector Not built
🕯 Spot Candles Feed Not built
🕯 Perp Candles Feed Not built

ℹ️ Exchange Info

🔑 How to Connect

Generate API Keys

  • Go to

  • Click “Account Icon” for a drop-down menu, select “API Management”


  • Each user is only allowed to create up to 5 API Keys. For security reasons, we recommend that each API Key should bind up to a maximum of four (4) IP addresses per key. If there is only one IP address, you can enter it directly. If there are more than one IP addresses, you should separate them with halfwidth comma (e.g.,,

    • It is compulsory to fill in the ‘Note’ field
    • Insert your IP address that you wish to bind (optional)
    • Click “Create” to proceed.
    • Please visit HuobiAPI Github for code references.


  • Please complete the SMS, Email & Google Authenticator(GA) security authentication. To generate the security code for SMS and Email, you are required to click the “Send” button.

  • Once you have completed the security authentication, click "Confirm" to proceed.


  • Once you completed the security authentication, your API "Access Key" and "Secret Key" will pop-up. Click "Confirm" to close the pop-up window.

  • Kindly note that the “Secret Key” will only be visible at this stage. Should you misplace or lose your 'Secret Key”, you will need to create a new API Key.


  • You have successfully created an API key with a standard validity of 90 days. You may edit the API key note and bind IP address simply by clicking “Edit”. You may choose to delete the API key by clicking “Delete”.


Add Keys to Hummingbot

From inside the Hummingbot client, run connect htx:

Enter your htx API key >>>
Enter your htx secret key >>>

If connection is successful:

You are now connected to HTX

🔀 Spot Connector

Integration to spot markets API endpoints

Order Types

This connector supports the following OrderType constants:


Paper Trading

Access the Paper Trade version of this connector by running connect htx_paper_trade instead of connect htx.

If this is not available by default, you can configure Hummingbot to add this paper trade exchange. See Adding Exchanges for more information. ```