Skip to content

Huobi ๐Ÿฅˆ

Support Hummingbot

Hummingbot Foundation has a fee share partnership with Huobi. When you use our software to trade on Huobi, 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)
  • Maintenance Tier:
  • Maintainer: None

Currently, Huobi is a Silver exchange, as voted by HBOT holders in each quarterly Epoch. This means Hummingbot Foundation does not maintain the components below, but community members may submit Proposals to fund development bounties and approve pull requests to fix bugs and add enhancements to them.

Component Status Notes
๐Ÿ”€ Spot Connector โœ…
๐Ÿ”€ Perp Connector Not built
๐Ÿ•ฏ Spot Candles Feed Not built
๐Ÿ•ฏ Perp Candles Feed Not built

โ„น๏ธ Exchange Info

๐Ÿ”‘ How to Connect

Generate API Keys

  • Go to https://www.huobi.com/en-us

  • Click โ€œAccount Iconโ€ for a drop-down menu, select โ€œAPI Managementโ€

    API

  • 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. 192.168.1.1,192.168.1.2,192.168.1.3).

    • 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.

    API

  • 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.

    API

  • 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.

    API

  • 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โ€.

    API

Add Keys to Hummingbot

From inside the Hummingbot client, run connect huobi:

Enter your huobi API key >>>
Enter your huobi secret key >>>

If connection is successful:

You are now connected to huobi

๐Ÿ”€ Spot Connector

Integration to spot markets API endpoints

Order Types

This connector supports the following OrderType constants:

  • LIMIT
  • LIMIT_MAKER

Paper Trading

Access the Paper Trade version of this connector by running connect huobi_paper_trade instead of connect huobi.

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