Skip to main content

Connect exchange

Before you start trading, you need to enter the exchange API key and secret, as well as the trading fees level for each exchange.

Connect exchange

Settings in detail#

API settings#

SettingDescription
API keyThe API key registered to be used with Gunbot for a specific exchange.
API secretAPI secret belonging to API key
DelayTime in seconds between processing two pairs on the same exchange.

10 is generally a safe value, you can try lower delays if you see the bot running without errors for several hours.
Trading feesFee percentage per trade, use the appropriate value for your exchange and fees level.
Passphrase (needed for select exchanges)Some exchanges require a passphrase for each API key, it may be called slightly different on the exchange itself.
Client ID (needed for select exchanges)Some exchanges require a client ID in addition to API key and secret, it may be called slightly different on the exchange itself.
Market (needed for select exchanges)Some exchanges require specifying the market the bot will be used on: spot, swap or, delivery or futures.
For power users

It is possible to use a master/slave API key, this allows you to use a different api key for trading than the registered (master) key. You can enter the master/slave keys in config.js directly, or using the code editor in Gunbot.

Market selection#

Some exchanges require specifying a market type, you can only run pairs of that specific market type (futures, for example) in the same bot instance.

ExchangeMarket options
binanceFuturesfutures: USDT margined pairs
delivery: coin margined pairs
ftxspot: spot trading
futures: futures pairs
OKXspot: spot trading
futures: futures pairs
swap: perpetual futures pairs