Exchange Troubleshooting
Common issues when connecting exchanges and how to resolve them.
Connection Issues
"Invalid API Key"
Symptoms: Exchange shows Error status, "Invalid API Key" message.
Causes:
- Typo in API key when entering
- API key deleted on exchange
- API key disabled/expired
Solutions:
- Verify the API key on your exchange is active
- Delete the exchange in TradeStaq
- Create a new connection with correct credentials
- Double-check for copy/paste errors (extra spaces, missing characters)
"Invalid Signature" / "Authentication Failed"
Symptoms: Connection fails with signature/authentication error.
Causes:
- Secret key is incorrect
- Passphrase wrong (OKX)
- Clock synchronization issue
Solutions:
- Re-enter the secret key carefully
- For OKX: verify passphrase is exact (case-sensitive)
- Check your device's system clock is accurate
- Try regenerating API keys on the exchange
"IP Not Whitelisted"
Symptoms: Error mentioning IP restriction or whitelist.
Causes:
- API key has IP restrictions
- TradeStaq server IPs not added
Solutions:
- Add TradeStaq server IPs to your API whitelist
- Contact hello@tradestaq.com for current IP list
- Or temporarily disable IP restrictions for testing
"Permission Denied"
Symptoms: Connection works but trades fail with permission error.
Causes:
- Trading permission not enabled
- Wrong account type selected
- Sub-account restrictions
Solutions:
- Check API key has Trade permission enabled
- For futures: ensure Futures/Derivatives permission is on
- Verify you're using the main account (not sub-account with restrictions)
Sync Issues
Balance Not Updating
Symptoms: Exchange shows old balance, doesn't reflect recent trades.
Causes:
- Sync delay
- Rate limiting
- Connection issue
Solutions:
- Click the Sync button to force refresh
- Wait a few minutes and try again
- Check exchange status on their website
- Verify the exchange status is "Active" (not "Error")
"Sync Failed"
Symptoms: Manual sync fails with error message.
Causes:
- Exchange API is down
- Rate limit exceeded
- Credential issues
Solutions:
- Check if exchange is operational
- Wait 5 minutes and retry (rate limit cooldown)
- Verify API credentials are still valid
- Check exchange status page for maintenance
Missing Positions
Symptoms: Open positions on exchange don't appear in TradeStaq.
Causes:
- Position opened before connecting
- Different account/sub-account
- Sync not completed
Solutions:
- Force sync the exchange
- Verify you're viewing the correct exchange in TradeStaq
- Check if position is on a different sub-account
- Wait for the next automatic sync cycle
Trading Issues
Orders Not Executing
Symptoms: Signals received but no trades placed.
Causes:
- Bot paused or stopped
- Insufficient balance
- Trading permission missing
- Invalid trading pair
Solutions:
- Check bot status is "Active"
- Verify sufficient balance for the trade
- Check API key has trading permissions
- Verify the trading pair exists on the exchange
"Insufficient Balance"
Symptoms: Trade fails with balance error.
Causes:
- Not enough funds for the order
- Margin requirement not met
- Balance on wrong wallet (spot vs futures)
Solutions:
- Check available balance (not total balance)
- Reduce position size
- Transfer funds to correct wallet on exchange
- For futures: ensure adequate margin
"Invalid Symbol"
Symptoms: Trade fails with symbol/pair error.
Causes:
- Trading pair delisted
- Wrong symbol format
- Pair not available on selected market type
Solutions:
- Verify the pair is tradeable on the exchange
- Check you're using correct market (spot vs futures)
- Update bot configuration with valid pair
- For futures: ensure you're using perpetual symbol
"Order Size Too Small"
Symptoms: Trade rejected for minimum order size.
Causes:
- Position size below exchange minimum
- Notional value too low
Solutions:
- Increase position size in bot settings
- Check exchange's minimum order requirements
- Ensure position value meets minimum (usually ~$5-10)
Exchange-Specific Issues
Binance
"API key format invalid"
- Binance API keys are case-sensitive
- Check for trailing spaces
- Ensure you're using the API key, not the secret
"Futures account not activated"
- Enable futures trading on Binance first
- Accept futures trading agreement
- May require identity verification
ByBit
"Unified account required"
- Upgrade to Unified Trading Account on ByBit
- Go to Account → Upgrade to Unified Account
"Position mode mismatch"
- Set position mode to Hedge Mode
- Go to Derivatives → Settings → Position Mode
OKX
"Passphrase incorrect"
- OKX requires a passphrase in addition to API key/secret
- Passphrase is case-sensitive
- Created during API key generation
"Account mode unsupported"
- Switch to Multi-Currency Margin mode
- Go to Account → Account Mode
Rate Limiting
"Too Many Requests"
Symptoms: Operations fail with rate limit error.
Causes:
- Too many API calls in short period
- Multiple services using same API key
Solutions:
- Wait 1-5 minutes for cooldown
- Reduce signal frequency
- Use separate API keys for different services
- Contact support if persistent
Note: TradeStaq implements automatic rate limiting, but extremely high-frequency signals may still hit exchange limits.
Account Issues
Paper Trading Refill Unavailable
Symptoms: Can't refill paper trading balance.
Causes:
- 24-hour cooldown active
- Paper exchange in error state
Solutions:
- Wait for cooldown timer to expire
- Check the cooldown remaining time on the refill button
- If button is missing, try refreshing the page
Exchange Shows "Paused"
Symptoms: Exchange marked as paused, can't trade.
Causes:
- Subscription tier limit exceeded
- Downgrade resulted in excess exchanges
Solutions:
- Delete excess exchanges to match tier limits
- Upgrade subscription to higher tier
- Choose which exchanges to keep active
Getting Help
If you've tried the above solutions without success:
- Gather Info: Note the exact error message
- Contact Support: Email hello@tradestaq.com with:
- Exchange name
- Error message
- Steps you've tried
- Screenshots if helpful
Note: Never share your API secret or passphrase with support. We will never ask for these credentials.
Prevention Tips
- Test with paper first - Validate configurations before going live
- Keep credentials updated - Rotate API keys periodically
- Monitor regularly - Check exchange status daily
- Enable notifications - Get alerts for connection issues
- Keep balances adequate - Maintain sufficient margin