2b - Connect to Binance
How to connect Binance with CryptoTrader.app
Ensure you have read and understood the required prerequisites before continuing.
Please refer to the "Must-knows" page in the left menu.
Follow the steps below to configure a Binance account and enable automated management of your funds.
Before proceeding, ensure that your SPOT wallet contains only USDT.
If you have any crypto dust, please use the functionality on Binance to convert it to BNB, and then exchange those BNB for stablecoin. Binance does not allow this to be done via API.
Main Account Synchronization
Log in to your Binance account.
Click here to access the page for generating new API keys.
Next, click the Create API button, choose the option: Generated by system, and click Next :
Label your key by naming it: CryptoTrader, and then click Next :
Click on Modify restrictions and check the box Restrict access to trusted IP addresses only (recommended).
Whitelist the following three IP addresses, separating them by a space:
35.195.13.37
158.46.138.42
158.46.156.86
In the API Restrictions tab, check the box Enable Spot and Margin Trading and click on Save :
Your API keys have been successfully generated. Before proceeding to the final step located in the left menu of this documentation under the section '3 - Link to CryptoTrader', please make sure to keep the window containing the newly created public and private keys open, or copy them into a temporary file.
Synchronizing a Sub-Account
It is possible to connect a Binance sub-account instead of your main account.
This will allow you to host our automated strategy while the main account is used for your own trading operations.
Click here to access the page for generating a new sub-account, then click on the Create Sub-Account button.
Choose Create with email option if you want your sub-account to be accessible via a different email address, which is not already used by another Binance account. The password and 2-factor authentication (2FA) will also be separate from your main account. Choose Create with virtual email option if you want your sub-account to be linked to your main account. This sub-account will use the same login credentials you typically use, and you'll be able to switch between accounts within the same interface. This option is recommended.
Once you've selected your preferred option, click on Create Sub Account.
Click here to go to the Asset Management page, then click on Transfer In.
Transfer to your sub-account the funds you wish to allocate to our automated strategy, then click on Confirm.
Click here to access the API Management page. Then click on the Create API button, choose the option: System Generated, and then click on Next :
Click on Email and select the sub-account linked to the email address you just generated. Label the API key as CryptoTrader.
Click on Modify restrictions and check the box Restrict access to trusted IP addresses only (recommended).
Whitelist the following three IP addresses, separating them by a space:
35.195.13.37
158.46.138.42
158.46.156.86
In the API Restrictions tab, check the box Enable Spot and Margin Trading and click on Save :
Your API keys have been successfully generated. Before proceeding to the final step located in the left menu of this documentation under the section '3 - Link to CryptoTrader', please make sure to keep the window containing the newly created public and private keys open, or copy them into a temporary file.
Dernière mise à jour