ARBI BOT

Trace: scanner_settings

Intra-exchange scanner settings

Scanner settings are divided into multiple categories for easier navigation.

Exchange

Here we have the most basic settings, choosing exchange and setting exchange fee percent.

Fields:

  • Select exchange - choose the desired exchange from the drop down menu (only exchanges for which you have license will be enabled).
  • Taker fee - set the taker fee for the selected exchange. There is default values provided for each exchange, however make sure the values are correct by checking them on the exchange's site.

Main

Fields:

  • Scanner instance name - that is the name of your scanner.
  • Select base currency - base currency is the currency that you start and end with. For example if you want to accumulate BTC you need to set it to BTC. You need to have funds only in the selected base currency. All other currencies are managed by the bot.
  • Balance per trade - that is the amount which will be used for each arbitrage event found.
  • Allocated funds - total funds which will be allocated to this instance. This allows running multiple scanners from the same exchange without messing up bank funds.
  • Min. profit - minimum profit percent for the arbitrage events. Events with lower profit percent will not be executed. Min. profit value is 0.01.
  • Select trading mode - you can choose from “Real Money” and “Paper Trading” modes. Real money mode place real orders, while paper trading mode only simulate placing orders.
  • Dynamic start balance - aka DBS. DSB is super useful when using higher balance per trade, because it allow executing arbitrage events even for amounts smaller than your balance per trade if there is not enough volume to cover your BPT. DSB can dynamically adjust your balance per trade, but it will not use a value higher than the value selected for balance per trade. When DSB is set to true the bot will treat your BPT value as max balance per trade. When DSB is set to true and there is arbitrage occurrence with volume smaller than your BPT, it will be executed.
  • Stop-Loss - stop-loss is used on pair #3. If you don't want to have open orders who loses their value you can use the stop-loss feature. Stop-Loss value represent the percent difference in order placed price and current price. If you don't want to use stop-loss you should set the value to 100. Use stop-loss feature wisely, because you can lose money fast if misused.

Bank

In this section you will find the bank related options.

Fields:

  • Minimum bank profit - represents the minimum profit percent needed when converting held funds to base.
  • Orders before limit - represents the amount of orders that can be used before using only funds held in the bank. Later you can set individual orders before limit values for each currency from the bank monitor.

Price Lines

Price lines represents the lines from the orderbook which you want to scan on.

We are using the top 10 prices from the order book.
0 is the lowest value, 9 is the highest value.

On pair #1 we have buy/sell value.
On pair #2 we have buy value.
On pair #3 we have sell value.

When buying 0 is the most aggressive line (“Best Price”).
When selling 9 is the most aggressive line (“Best Price”).

“Best Price” is the “top of the book”.
The best price in the order book.
The one at the top.

Aggressive price lines has higher chances of unfilled order, but also chance for bigger profit.
If you want to reduce the amount of unfilled orders on specific pair #, just use a less aggressive price line on it.
Change the values by one at a time and observe the results before making other changes.

If you attach a rule to specific pair, even if there is an arbitrage event that matches all other parameters, it will not be executed until the rule is valid.
You can attach multiple rules to each pair number.

Fields:

  • Pair #1 Buy - price line for pair #1 when the arbitrage event starts with buy order.
  • Pair #1 Sell - price line for pair #1 when the arbitrage event starts with sell order.
  • Pair #2 Buy - price line for pair #2.
  • Pair #3 Sell - price line for pair #3.
  • Pair #1 Use highest volume - ignore the selected price line and use the one with the highest available volume.
  • Pair #2 Use highest volume - ignore the selected price line and use the one with the highest available volume.
  • Pair #3 Use highest volume - ignore the selected price line and use the one with the highest available volume.
  • Pair #1 buy rules - rules for pair #1 when the arbitrage events starts with buy order.
  • Pair #1 sell rules - rules for pair #1 when the arbitrage events starts with sell order.
  • Pair #2 rules - rules for pair #2.
  • Pair #3 rules - rules for pair #3.

External resources that may be helpful:

https://www.investopedia.com/terms/o/order-book.asp
https://www.investopedia.com/terms/m/matchingorders.asp
https://en.wikipedia.org/wiki/Order_matching_system
https://www.investopedia.com/terms/t/triangulararbitrage.asp

Volume Multipliers

Volume multipliers are used in two scenarios.
When calculating DSB and for volume filters.
DSB is only used to calculate your initial balance per trade, while volume multiplier is additionally used in each pair to check the volume availability.
Volume multipliers means how much needed amount * VOL_MULTIPLIER_VALUE should the total volume be in order to execute the arbitrage cycle. Lets say on pair #2 you need amount of 30 XMR.
You have volume multiplier on pair #2 set to 3.
Volume on the chosen price line is checked.
If volume is 50 the event will be skipped, because 50 < than 30 * 3.
If volume is 90 or higher it will be executed.
Same applies for all pairs.

Have in mind that volume checks does not guarantee that your orders will be filled, it just guarantees that the volume was available at the beginning of the arbitrage execution.

Fields:

  • Pair #1 - volume multiplier for pair #1.
  • Pair #2 - volume multiplier for pair #2.
  • Pair #3 - volume multiplier for pair #3.
  • Volume check - in some cases you may want to disable the volume checking, if so you can set volume check to disabled. Have in mind that pair #1 volume multiplier value will stil be used for DSB calculations. You can disable DSB as well if you want to totally exclude all volume related checks.

Blacklist

You can exclude whole market or only specific triangular combination.

Fields:

  • Enable/disabled middle markets - exclude entire middle market.
  • Exclude combos - exclude specific triangular combination/s.

MISC

Fields:

  • Max open orders per pair - if you have more than n amount of open orders on the same symbol, arbitrage event will not be executed.
  • Autostart - if enabled scanner will be automatically started on creation and when you start the bot next time.
  • Verbose logging - if enabled detailed pre-calculations log will be generated. No need to keep an eye on the logs size anymore. Now we have integrated log rotation.

Done

The last step before creating your new scanner instance.

If you want to go back and edit some of the settings you can click “Back”.
If you want to close the whole form without saving, click on “Cancel”.
If you want to proceed with creating your new scanner click “Submit”.

Inter-exchange scanner settings

Scanner settings are divided into multiple categories for easier navigation.

Pair and exchanges

Fields:

  • Select pair - select the pair that you want to scan.
  • Select exchange A - choose the desired starting exchange from the drop down menu
  • Taker fee exchange A - taker fee for the starting exchange
  • Select exchange B - choose the desired ending exchange from the drop down menu
  • Taker fee exchange A - taker fee for the ending exchange

Main

Fields:

  • Scanner instance name - that is the name of your scanner.
  • Select currency to accumulate - If you want to accumulate BTC you need to set it to BTC.
  • Balance per trade - that is the amount which will be used for each arbitrage event found.
  • Min. profit - minimum profit percent for the arbitrage events. Events with lower profit percent will not be executed. Min. profit value is 0.01.
  • Select trading mode - you can choose from “Real Money” and “Paper Trading” modes. Real money mode place real orders, while paper trading mode only simulate placing orders.

Price lines

Price lines represents the lines from the orderbook which you want to scan on.

We are using the top 10 prices from the order book.
0 is the lowest value, 9 is the highest value.

When buying 0 is the most aggressive line (“Best Price”).
When selling 9 is the most aggressive line (“Best Price”).

“Best Price” is the “top of the book”.
The best price in the order book.
The one at the top.

Aggressive price lines has higher chances of unfilled order, but also chance for bigger profit.
If you want to reduce the amount of unfilled orders on specific pair #, just use a less aggressive price line on it.
Change the values by one at a time and observe the results before making other changes.

Fields:

  • Pair A buy - price line for pair A when placing buy orders
  • Pair A sell - price line for pair A when placing sell orders
  • Use highest volume for pair A - Ignore the selected price line and use the one with the highest available volume.
  • Pair B buy - price line for pair B when placing buy orders
  • Pair B sell - price line for pair B when placing sell orders
  • Use highest volume for pair A - Ignore the selected price line and use the one with the highest available volume.

External resources that may be helpful:

https://www.investopedia.com/terms/o/order-book.asp
https://www.investopedia.com/terms/m/matchingorders.asp
https://en.wikipedia.org/wiki/Order_matching_system
https://www.investopedia.com/terms/t/triangulararbitrage.asp

Volume Multipliers

Volume multipliers acts as a threshold. For example volume multiplier for pair A with value of 2, means that the available volume should be at least 2 times higher than the amount we need in order to proceed further.

Have in mind that volume checks does not guarantee that your orders will be filled, it just guarantees that the volume was available at the beginning of the arbitrage execution.

Fields:

  • Pair A - volume multiplier for pair A.
  • Pair B - volume multiplier for pair B.

Done

The last step before creating your new scanner instance.

If you want to go back and edit some of the settings you can click “Back”.
If you want to close the whole form without saving, click on “Cancel”.
If you want to proceed with creating your new scanner click “Submit”.