/barbotine-arbitrage-bot

Ready-to-run arbitrage bot operating on centralized exchanges, entirely written in Python. Work without any transfer between exchanges.

Primary LanguagePythonOtherNOASSERTION

Barbotine Arbitrage System Logo

Twitter @nelsodot GitHub @nelso0

I also made a coin listing bot working on all exchanges, check it out here!

More than a simple algorithm, Barbotine Arbitrage System (B.A.S) is a complete portfolio management system based on the price difference opportunities of the same asset on several centralized trading platforms. What it does is basically look for price differences on 3 exchanges at the same time (asynchronous). To eliminate the risks and variables to be taken into account, B.A.S operates without any transfer of assets between trading platforms. It can also operate in a delta-neutral situation, which brings it even closer to zero risk.

Table of content

  • Compatible with almost any exchange (all ccxt exchanges).
  • True trading fees support
  • Zero-risk (no speculation)
  • Full live tracking on Telegram and Discord webhooks
  • Permanent live rate display in the terminal

Barbotine Arbitrage Bot Demo

It's running live! Click here to see current profits.

video demo

The things you need before installing the software.

  • Python 3.9+ (for windows users: if python or pip isn't recognized as a command, make sure you have installed python by checking the box "add to PATH")
  • Nothing else lol
  1. Clone the repository
git clone https://github.com/nelso0/barbotine-arbitrage-bot # you can also download the zip file
  1. Go to the repository you just cloned
cd barbotine-arbitrage-bot
  1. Install all the requirements to run the arbitrage system
pip install -r requirements.txt
  1. Set your configuration details in exchange_config.py
  2. Run with:
python run.py

You can also run it with one line like this:

python run.py <mode> <symbol-renew-time-minutes> <balance-usdt-to-use> <exchange1> <exchange2> <exchange3> [symbol]
  • <mode> = the mode you wanna use among fake-money, classic, and delta-neutral. See #full-version for classic and delta-neutral modes.

    • fake-money will run the bot with the balance-usdt-to-use you put, with a virtual balance, just to test.
    • classic will run the bot with real USDT.
    • delta-neutralwill run the bot with real USDT also, but in a delta-neutral situation. (a bit less profits but you won't loose a cent if the crypto you're using dump in 5 minutes (for very very careful people).
  • <symbol-renew-time-minutes> = the timeframe you wanna use to switch symbol. If you put 60, it will renew the symbol each hour. Note that the new symbol is automatically selected by the best_symbol.py script if you don't put a {symbol}. Default: 15

  • <balance-usdt-to-use> = how to be clearer?

  • <exchange1,2,3> = the three exchanges you want to use among all the CCXT-compatible exchanges. Default: binance okx kucoin (All the 3 have to be correctly configured in exchange_config.py).

  • [symbol] = Not mandatory. If you put a [symbol], it will renew but on the same symbol every time. Every time it renews, it sells all the crypto and rebuy the crypto asset at the new price.

Note: you can put a minimum profit in USD or % in exchange_config.py. The bot will only take the trade if the profit is > (superior) to your value.

Examples:

python run.py fake-money 15 500 binance okx kucoin EOS/USDT    # run the system with 500 USDT and renew symbol every 15 minutes, with binance okx and kucoin
python run.py classic 15 1000 binance phemex bybit SOL/USDT   # run the system with 1000 USDT on binance phemex and bybit on SOL/USDT continuously (change the symbol to SOL/USDT each 15 minutes).
python run.py delta-neutral 60 750 okx cryptocom huobi   # run the system in a delta-neutral situation with 750 USDT and renew the symbol each hour, on okx crypto.com and huobi. Note that with same amount of USDT, the delta-neutral mode will have 2/3 of the profits of the classic mode because it has less liquidity to invest in arbitrage opportunities.

Contact

If you have any questions or you want to discuss of the bot with me, let's talk!

Discord: nelso#1800

Email: nelso@barbotine.capital

There is also a full version which operates with real dollars.

The profits vary a lot from one month to another, because it depends a lot of market conditions (can go from 5% to 40% monthly).

Current profits

Most of the time, the more volatile a crypto asset is, the more opportunities there are (because exchanges struggle more to have the same price).

You can now buy the source code of that real version! Link: https://get.barbotine.capital