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.
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.
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.”
Then click on the "Create API" button.
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.
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.
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.
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.
Restricting API Key to Trusted IP Addresses
Click on "Restrict access to trusted IP's only.
This is a security feature that allows users to specify a list of trusted IP addresses that will be able to access the user's account via the Binance API. This means that if someone tries to access the user's account through the API from an IP address that is not on the trusted list, they will be denied access. This can help protect against unauthorized access to the user's account through the API, as it ensures that only the user and anyone else they have explicitly allowed will be able to access the account through the API.
Head over to BravoBot app, and under settings go into the API settings, there you will see three IP addresses generated just for you. Go to the far right of the IP field and click on the copy button.
Then finally go back to Binance and paste it into the IP address field then click confirm.
It should look like this afterward.
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.
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.