GithubHelp home page GithubHelp logo

matteobevilacqua / barbotine-arbitrage-bot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nelso0/barbotine-arbitrage-bot

0.0 1.0 0.0 222 KB

CCXT-based cross-exchange arbitrage bot operating on CEXs, entirely written in Python. Work without any transfer between exchanges.

Home Page: https://barbotine.xyz

License: Other

Python 100.00%

barbotine-arbitrage-bot's Introduction

Barbotine Arbitrage System Logo

Twitter @nelsodot GitHub @nelso0

Table of content

  • Compatible with almost any exchange (all ccxt exchanges).
  • Pre-calculates all future transactions fees to know the exact possible profit before all transactions
  • Zero-risk (no speculation)
  • Full live tracking on Telegram and Discord webhooks
  • Permanent live rate display in the terminal

Message from after the video: the nb_exchanges variable in the config is now deleted, the bot automatically detects the number of exchanges you put.

Here is the setup & demo video for beginners: https://youtu.be/Uw6ajbODid0

  • Python 3+ inferior to 3.12! (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")
  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> [renew-time-minutes] <balance-usdt-to-use> <symbol> <exchanges list separated by commas (no space!)>
  • <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).
  • [renew-time-minutes] = ONLY IF YOU ENABLED RENEWAL SETTING IN THE CONFIG. If you enabled it, you have to put the number of minutes a session should last. After each session, the bot sells all the assets back to USDT and start again. It's for volatile assets if you want to refresh the price at which the bot bought the asset.

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

  • <symbol> = The symbol you wanna arbitrage on. Every time it renews, it sells all the crypto and rebuy the crypto asset at the new price.

  • <exchanges list> = the exchanges you want to use among all the CCXT-compatible exchanges. At least 2 exchanges, theorically infinite maximum. Don't forget to configure the exchanges in exchange_config.py.

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. You can also use pairs without USDT, like ETH/BTC.

Examples:

python run.py fake-money 15 500 EOS/USDT binance,okx,kucoin    # run the system with 500 USDT and renew the session every 15 minutes, with binance okx and kucoin
python run.py classic 15 1000 SOL/USDT binance,poloniex,kucoin   # run the system with 1000 USDT on binance phemex and bybit on SOL/USDT, and renew the session every 15 minutes.
python run.py delta-neutral 60 750 BTC/USDT okx,cryptocom,huobi   # run the system in a delta-neutral situation with 750 USDT and renew the session 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

[email protected]

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

You can now buy the source code of that full version!

Link for source code: barbotine.xyz/arbitrage

/!\ No financial advise, DYOR /!\

barbotine-arbitrage-bot's People

Contributors

nelso0 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.