Configure Binance account for automated trading
This guide walks you through setting up your Binance account for automated trading.
⚠️ Critical Security Settings - Follow these exactly:
FreqtradeBot
or similarEnable these permissions:
DISABLE these permissions:
.env
file:
BINANCE_API_KEY=your_api_key_here
BINANCE_API_SECRET=your_secret_here
.env
to version control# Test API credentials (dry-run mode)
./docker-launch.sh
# Check logs for connection success
docker logs freqtrade-ReinforcedAverageStrategy | grep -i "successfully"
# Should return market information
curl "https://api.binance.com/api/v3/exchangeInfo" | jq '.symbols[0]'
Your bot logs should show:
ERROR - Unable to authenticate
Solution: Double-check API key and secret in .env
file
ERROR - Insufficient permissions
Solution: Ensure “Enable Reading” and “Enable Spot & Margin Trading” are checked
ERROR - IP address not allowed
Solution: Check IP restrictions in Binance API settings
ERROR - Rate limit exceeded
Solution: The binance-proxy (setup automatically) handles this
Before switching from dry-run to live trading:
With Binance configured:
If something goes wrong:
docker stop $(docker ps -q --filter name=freqtrade)
docker logs container_name