Skip to main content

Adding Binance API

BravoBot uses API keys to make trades on your behalf. API key gives BravoBot the ability to check your balance to know if you can afford to make a trade and make trades automatically. So to utilize the full power of BravoBot, it will need your API key.

Starting off

12.png

You can find the API panel in the settings of your account. Then you will want to head over to the “API Keys” tab. Here you will be able to label your API key. Naming your API key is essential if you’re using multiple exchanges – making them easier to identify. As of writing this, Binance.com is the only exchange BravoBot supports, but in the future, there will be more options under the exchange dropdown in the future. The last two fields are for the API key and API key secret, these two are essential to the functionality of the bot.

12.png

Getting the API Key

To get your Binance API key, you need to be logged in, head over to the icon that looks like a person in a circle, and in the menu that comes up, press “API Management.”

image.png

Then click on the "Create API" button.

image.png

After that, you want to make sure the "System Generated API key" is selected, the other option is for advanced users only, use it only if you know what you're doing.

image.png

On the API Management page, you have to create a label for the API key you’re about to make. This can also be anything. For this example, the API key will be named “example” best you call yours “BravoBot” since that’s what we’re making the key for.

apiname.png

Binance will ask for a code from your email and your authenticator to create your API key. After you provide them both, you will be able to proceed.

verification.png

editrules.png

Once you see the page where you can see the API key, you will want to press “Edit restrictions” to edit the API key’s permissions. First, make sure “Enable Reading” is enabled. This is to make sure the key has permission to read your account balance. BravoBot needs to read your account balance for various functions to work. The other permission you need enabled is “Enable Spot & Margin Trading”. BravoBot specializes in the Spot market, so that permission needs to be enabled for the Bot to make trades. Click “Save” after making sure the two permissions are enabled.

enablethese.png

Make

Restricting sureAPI Key to leave theTrusted IP address as “Unrestricted”.

Addresses

Once again, you will need to enter your authenticator code to save the changes to the API key.Stub

Putting your API Key into BravoBot

To finish off, you will have to add your API key to BravoBot. Put the API key and API secret key into the corresponding places on BravoBot and click submit. Now just press submit.

copythese.png

puthere.png

Now BravoBot will be able to trade on your behalf once you launch a live bot.

The next step is to create a virtual wallet.