MagicTradeBot – Add Exchange Account

The MagicTradeBot Management App provides a user-friendly interface to register and manage exchange accounts. Each account stores exchange credentials and can be associated with one or more trading symbols and bot instances.

📍 Navigation Path

To register a new exchange account, navigate in the Management App to:

Management → Accounts → Add Account

🧾 Account Registration Fields

When adding a new exchange account, you will be prompted to enter the following fields:

Title
Set a descriptive name for the account (e.g., Binance Main, Bybit Sub Account).
Description
Optional field to describe the purpose or scope of this account (e.g., High-leverage Scalping Account).
API Key
The public API key provided by the exchange platform. Required for authentication and trade execution.
API Secret
The secret key that pairs with your API key. Keep this secure and never share it publicly.
API Passphrase
Optional field required by some exchanges (e.g., Coinbase Pro, OKX). This passphrase is created at the time of generating your API key.

🔒 Security Best Practices

  • Use exchange-level permissions to restrict API keys to Read + Trade only (never enable withdrawals).
  • Apply IP whitelisting for APIs whenever the exchange supports it.
  • Do not reuse API credentials across multiple environments or accounts.
  • Rotate API keys periodically for added security.

🧩 Supported Exchanges

MagicTradeBot supports registering multiple accounts per exchange. The following exchanges are currently supported (with more being added regularly):

  • Binance
  • Bybit
  • Bitget
  • OKX
  • More coming soon…

🤖 Bot Integration

Once an account is registered, its ExchangeId becomes available in the Management App. This ID can be used in your Bot Instance configuration to bind a specific bot to that account:

# Example in config.yaml
server:
  exchangeId: 3  # Bot targets the registered Exchange Account with ID 3

🧠 Use Case Example

Create one account for each of your strategies or risk profiles:

  • Binance Main – High-risk scalping
  • Bybit Sub Account – Low-leverage swing trading
  • Bitget Copy Trading – Social mirror strategy

This modular approach allows you to isolate trades, manage rate limits, and monitor performance more effectively.

📌 Summary

  • Register unlimited exchange accounts under any supported exchange.
  • Securely store and manage API credentials and associate with trading symbols.
  • Each bot instance can be linked to a specific account for targeted execution.
  • Enables scalable, secure, and isolated multi-account trading environments.

📎 Related Topics