Skip to main content

No project description provided

Project description

Features

  • Comaptible with all ccxt exchanges.
  • Precise at the orderbook lever (close to a market-making algorithm)
  • Can work with an unlimited number of exchanges at the same time
  • Does a balance simulation for every possible opportunity to always choose the most profitable one
  • Full logging system

Prerequistics

  • Install python 3.12

Installation

pip install arb==0.1

Usage

Run the bot with the following command:

  "arb <mode> [renew-time-minutes] <balance-usdt-to-use> <pair> <exchanges list separated by commas (no space!)>"

Parameters:

- "<mode>" = the mode you wanna use between fake-money and real. See #full-version for real mode.

  * fake-money: will run the bot with the balance-usdt-to-use you put, with a virtual balance, just to test.
  * real: will run the bot with real money.
  
- "[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 rebalance. Note: you can trigger a manual rebalance while in a session by pressing the Enter key.

- "<balance-usdt-to-use>" = If you set the balance to 10,000 across two accounts, you need to deposit 5,000 into each exchange for the bot to function properly.

- "<pair>" = The pair you wanna arbitrage on.
  ex: COMAI/USDT, BTC/USDT, ETH/USDT

- "<exchanges list>" = the exchanges you want the bot to scan the orderbooks on, among all the CCXT-compatible exchanges. From a 2 exchanges minimum, up to an unlimited number. Don't forget to configure the exchanges in exchange_config.py.
  • Examples:

    • with renewal disabled ( For test ):

       arb fake-money 500 EOS/USDT binance,okx,kucoin    # run the bot with 500 USDT and rebalance every 15 minutes, with binance okx and kucoin
      
      
    • with renewal enabled:

      @ Before this command you should enable renewal in the exchange_config.py

      arb real 15 1000 SOL/USDT binance,poloniex,kucoin   # run the bot with 1000 USDT on binance phemex and bybit on SOL/USDT, and rebalance every 15 minutes.
      
      

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

arb-0.1.2.tar.gz (13.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

arb-0.1.2-py3-none-any.whl (17.6 kB view details)

Uploaded Python 3

File details

Details for the file arb-0.1.2.tar.gz.

File metadata

  • Download URL: arb-0.1.2.tar.gz
  • Upload date:
  • Size: 13.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.0

File hashes

Hashes for arb-0.1.2.tar.gz
Algorithm Hash digest
SHA256 37489710181d0afa67f2eaac658b2044efc63bbc15639cde44e0eb4b320e9efb
MD5 919c03a5482c49d48e42859cdfcdcf66
BLAKE2b-256 68372a33c3145134df6567f2ce62601df5a47051b6fc6b5f278051ae0917604f

See more details on using hashes here.

File details

Details for the file arb-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: arb-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 17.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.0

File hashes

Hashes for arb-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 cba0f47f97df0a7540da2f2107e148afac90eec229609af8ac393c9e9acd2b41
MD5 f6dbaf03cfd5b29eaf4accf37d8852fe
BLAKE2b-256 6769e5b94485e9a1a9c371564e5e0c033ef853aaf5687ae92a5a008441a98c61

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page