Exchange Setup
To start trading, you need to connect your exchange account using an API key. This page explains what API keys are, how to create one on each supported exchange, and how to hand it to the bot.
How API keys keep you safe
What API keys actually do
- ✓An API key gives the bot permission to trade on your account
- ✓You choose exactly which actions are allowed
- ✓You can delete the API key at any time to cut off access
Permissions to set
Exchange setup guides
Binance
How to create your API key
- 1. Go to Profile then API Management
- 2. Click "Create API" and choose "System Generated"
- 3. Name it something clear (e.g., "Autowealth")
- 4. Verify with SMS or email
- 5. Copy the API Key and Secret Key immediately
Enable these permissions
Good to know
- • Add an IP restriction if you know the trading server's IP
- • Use a clear label so you can find this key later
- • The secret key is only shown once -- save it right away
Bybit
How to create your API key
- 1. Go to Account & Security then API
- 2. Click "Create New Key"
- 3. Choose "System-generated API Keys"
- 4. Name the key and select permissions
- 5. Complete 2FA verification
Enable these permissions
Good to know
- • Enable "Unified Trading Account" for better margin handling
- • Set the key to "No expiry" so it does not disconnect unexpectedly
- • Add IP whitelist for extra security
OKX
How to create your API key
- 1. Go to Profile then API
- 2. Click "Create API Key"
- 3. Enter a name for the key
- 4. Select trading permissions
- 5. Set a passphrase and verify
Enable these permissions
OKX-specific note
OKX requires a passphrase for every API key. You will need to provide this passphrase to the bot along with your key and secret.
KuCoin
How to create your API key
- 1. Go to API Management
- 2. Click "Create API"
- 3. Name the key and set a passphrase
- 4. Select futures trading permissions
- 5. Verify with email and SMS
Enable these permissions
KuCoin-specific note
Like OKX, KuCoin requires a passphrase. You may also need to whitelist specific IP addresses. Have both ready before starting setup.
Sending your keys to the bot
What you will need ready
All exchanges
- • API Key (the public part)
- • Secret Key (the private part)
- • Your exchange name
OKX and KuCoin only
- • The passphrase you set during key creation
The setup flow
Type /start in the bot
Follow the prompts to begin setup
Pick your exchange
Select Binance, Bybit, OKX, or KuCoin from the list
Paste your credentials
Enter your API key, secret, and passphrase if needed
Bot verifies the connection
The bot tests the key, checks permissions, and confirms everything works
Security rules
Never do
- •Enable withdrawal permissions on your API key
- •Share API credentials with anyone besides the bot
- •Reuse the same API key across different services
- •Save credentials in plain text files or notes apps
- •Ignore warnings about connection health
Always do
- •Label your API key clearly so you remember what it is for
- •Turn on IP whitelisting when possible
- •Check your exchange activity log from time to time
- •Keep 2FA enabled on your exchange account
- •Start with a small balance to make sure everything works
Troubleshooting
Connection failed
Likely causes
- • Typo in the API key or secret
- • Wrong permissions selected
- • IP restriction blocking the connection
- • Exchange API is temporarily down
- • Missing passphrase (OKX or KuCoin)
What to try
- • Re-copy and paste your credentials carefully
- • Confirm futures trading is turned on
- • Remove IP restrictions temporarily to test
- • Wait a few minutes and try again
- • Make sure the passphrase is typed exactly
Permission denied
What this means
The API key does not have the right permissions. The bot needs to read your account and place futures trades.
Permissions needed
- ✓ Futures Trading
- ✓ Read Portfolio/Account
- ✗ Withdrawals (must be off)
How to fix it
- 1. Open your exchange API settings
- 2. Edit the key's permissions
- 3. Turn on "Futures Trading" and "Read"
- 4. Save and try connecting again
- 5. If it still fails, create a brand new key
Insufficient balance
What is required
- • The minimum balance varies by community
- • You need enough margin to hold futures positions
- • Leave a buffer for potential drawdowns
- • Keep extra on hand for commission payments
What to do
- • Deposit more funds to your futures wallet
- • Transfer from your spot wallet if needed
- • Ask your admin for the exact minimum amount
- • Contact admin if the number seems wrong
Keeping your connection healthy
Regular checks
- •Run /status in the bot daily
- •Watch for trade notifications
- •Glance at your exchange activity log
- •Confirm positions match what the bot reports
Warning signs
- •No trades when you expect them
- •Connection error messages from the bot
- •Positions on your exchange that you did not expect
- •The bot stops sending messages entirely
When to reconnect
- •After changing API permissions on the exchange
- •After exchange maintenance windows
- •If connection errors keep happening
- •When the bot specifically asks you to
Next: Payments & Invoicing