Arbitrage trading bot for Binance, based on https://github.com/bmino/binance-triangle-arbitrage
Project description
bTrader
This is an arbitrage trading bot based on this JS implementation. For that reason, the configuration files for both of them are fully compatible.
Steps to run the bot
Two-step process:
-
Read the configuration guide from here. I was lazy to write one of my own, so you can read it from the JS implementation repository. After that, generate your own configuration file or just edit the one on the
config/
directory on this repository. -
(Recommended) Use the Docker image (
$(pwd)/config.json
is the path to your configuration file):
docker run -it --name btrader -v $(pwd)/config.json:/config.json gabrielmilan/btrader
- (Few more steps) Use the Python package:
python3 -m pip install btrader
python3
>>>> from btrader import bTrader
>>>> bot = bTrader("config.json")
>>>> bot.run()
Development status
- C++ implementation of calculations
- Monitoring websockets
- Computing profits over all possible triangles
- Filtering and showing viable operations
- Implement asset step size
- Structure for holding trading actions and quantities
- Perform trading actions
- Best deals printing
- Telegram bot
- Generate binary distributions
Config file compatibility
- KEYS
- INVESTMENT
- TRADING [ENABLED, TAKER_FEE, PROFIT_THRESHOLD, AGE_THRESHOLD]
- TRADING [EXECUTION_STRATEGY, EXECUTION_TEMPLATE, EXECUTION_CAP]
- HUD
- LOG
- DEPTH [SIZE]
- DEPTH [PRUNE, INITIALIZATION_INTERVAL]
- TIMING
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
btrader-0.1.1.tar.gz
(410.4 kB
view hashes)