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¶
- Website: https://www.huobi.com/
- CoinMarketCap: https://coinmarketcap.com/exchanges/huobi/
- CoinGecko: https://www.coingecko.com/en/exchanges/huobi
- API Docs: https://www.huobi.com/en-in/opend/newApiPages/
- Fees: https://www.huobi.com/support/en-us/detail/360000312282
- Supported Countries: Not available
๐ 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โ
-
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.
-
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 huobi
:
If connection is successful:
๐ Spot Connector¶
Integration to spot markets API endpoints
- ID:
huobi
- Connection Type: WebSocket
- Folder: https://github.com/hummingbot/hummingbot/tree/master/hummingbot/connector/exchange/huobi
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. ```