Skip to main content

Trading pairs

To configure which trading pairs Gunbot should trade, go to Pairs or Easy edit.

You can use an unlimited number of trading pairs, across multiple exchanges.

Add trading pairs#

To start trading on a new pair, just enter or select the pair name, pick the exchange and strategy and hit the Add button. When you want to temporarily stop trading a pair, use the Enabled toggle to disable the pair.

On exchanges that support it, a pair list is automatically provided in the correct format. For some exchanges you need add pair names manually.


tip

The Use safe balance settings option makes sure that a few critical balance settings are automatically set to known working values, for each newly added BTC, USD, USDT or EUR pair.


Using filters to add multiple pairs at once#

Select the Use filter rules option to add pairs based on filters you set. This way you can for example easily add the top 10 volume USDT pairs.

When you're done, hit the Filter button to add pairs matching your filters.


warning

Some exchange unfortunately just don't provide the data needed to filter pairs in this way, or their API rate limits are too strict to do it in a practical way. In that case likely just nothing happens when you hit the filter button.


Pair naming conventions#

Gunbot uses a standardized format for entering trading pairs, this allows you to use the same syntax for all exchanges you might use.

Where possible it uses this notation: BASECOIN-QUOTECOIN

All pairs with BTC as base currency are written like: BTC-ETH, BTC-ATOM, BTC-ETH

All pairs with USDT as base currency are written like: USDT-BTC, USDT-ETH, USDT-XMR

tip

The base coin in Gunbot is the one used to buy another asset. Be aware that some exchange display pair names in the exact reverse order.

Symbol name exceptions#

A small number of symbol names need to be written in a slightly different way than the exchange lists them on their site.

ExchangeSymbol exceptions
binanceUse YOYOW instead of YOYO
bitfinex

For a few symbols, the API display name is required. These are:

IOTA = IOT

DASH = DSH

QTUM = QTM

DATA = DAT

QASH = QSH

krakenUse BTC instead of XBT

Pair naming for futures exchanges#

On Binance Futures USDT margined pairs, naming works the same as for spot trading: USDT-BTC, USDT-LTC, etc. For coin margined pairs the correct format is: USD-BTC-PERP or USD-COIN-EXPIRYDATE.

The long and short sides on Bybit are split into separate pairs in Gunbot. Use USDT-BTC-LONG for the long side of your strategy and USDT-BTC-SHORT for the short side of your strategy. Each side pair can only open positions in that direction.

Pairs on Bitmex use almost the same symbols as on Bitmex itself, but with a hyphen-minus between the two asset names. Example: XBT-USD

Pairs on Kraken Futures follow the following conventions:

  • Perpetual contracts: XBT-USD, ETH-USD, LTC-USD, etc.
  • Monthly futures: XBT-MONTH, ETH-MONTH, LTC-MONTH, etc
  • Quarterly futures: XBT-QUART, ETH-QUART, LTC-QUART, etc

Pairs on Okex Futures use the similar notation as on their site, with hyphens in between the different parts of the pair and swapping the symbols. Valid example: USD-BTC-201016

Pairs on FTX follow this pattern: XRP-PERP, BTC-PERP


tip

Make sure to use the correct market type, especially when using futures.


Override settings#

Overrides are pair specific settings, overruling the assigned strategy. Every strategy parameter can be used as an override.

You can use this, for example, to set a different trading limit for a specific pair.

When adding overrides, you can choose from a list of all available strategy settings. See the strategy settings pages for which values are accepted for each individual parameter.


tip

Make sure to only add overrides for settings that actually have a function for the buy and sell methods of your strategy. See the strategy pages for detailed info about relevant settings.


Pair processing example#

  • 2 enabled trading pairs on 1 exchange
  • Exchange delay set to 5
  • "Processing" below means that Gunbot retrieves data and trades when strategy trading conditions happen in that round
  • First round of pair 1 is processed
  • Waits 5 seconds (as defined in the exchange delay)
  • First round of pair 2 is processed
  • Waits 5 seconds
  • Second round of pair 1 is processed
  • Waits 5 seconds
  • Second round of pair 2 is processed.
  • ... continues cycling through further rounds

Parallel processing of multiple exchanges

If you have trading pairs across multiple exchanges, each exchange will process pairs in parallel. This means that a pair on exchange 1 does not wait for pairs on exchange 2 to be processed first.

Every exchange will individually cycle through enabled pairs like described above. Each exchange can have it's individual delay setting.