Skip to content

Using Binance with Hummingbot

cover

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 1

Step 2

Click Create API. Please note that before creating an API Key, you need to:

Step 2

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.

Step 3

Enter a label/name for your API Key.

Step 4

Step 3

Verify your request with 2FA devices.

Step 5

Step 6

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:

>>> connect binance

Enter your binance API key >>>
Enter your binance secret key >>>

If connection is successful:

You are now connected to binance