Using Binance with Hummingbot¶
Introduction¶
Binance is the world’s largest crypto exchange by trading volume, with $76 billion daily trading volume on Binance exchange as of August 2022, and 90 million customers worldwide.
This section provides a step-by-step guide that helps you use Hummingbot with Binance, starting with generating exchange API keys and adding them to Hummingbot. All information is sourced from the exchange website and other content.
Generate API Keys¶
Step 1
Log in to your Binance account and click Profile - API Management
Step 2
Click Create API. Please note that before creating an API Key, you need to:
- Enable two-factor authentication (2FA) on your account.
- Make a deposit of any amount to activate your account.
Select System generated as your preferred API Key type. For more details on self-generated API Keys, please refer to How to Generate an RSA Key Pair to Send API Requests on Binance.
Enter a label/name for your API Key.
Step 3
Verify your request with 2FA devices.
Your API Key is now created. Do not disclose your API Key, Secret Key (HMAC), or Private Key (RSA) to anyone to avoid asset losses. If you forget your Secret Key, you'll need to delete the API and create a new one.
Add Keys to Hummingbot¶
From inside the Hummingbot client, run connect binance
:
If connection is successful: