Binance Triangular Arbitrage will check for each triangular arbitrage combination based on a given currency and execute three consecutive trades that result in the specified profit margin.
In the configuration file config.yml
you can define several parameters such as the cryptocurrency you want to trade, your initial investment, the minimum profit for each trade, or enable/disable the test mode.
- Python 3 (Tested with Python 3.9).
- Internet connection (Fast one if possible),
Clone this repository and run:
pip install -r requirements.txt
Edit the file config.yml
and add your Binance API keys.
binance_api:
apiKey: "<API_KEY>" #Insert your API_KEY.
secretKey: "<secret_KEY>" #Insert your secret_KEY.
Then define the following variables.
settings:
isTest: False #Want test mode?
base_currency: "USDT" #Currency you want to trade.
INVESTMENT_AMOUNT_DOLLARS: 1000 #Your initial investement
MIN_PROFIT_DOLLARS: 5 #Minimum profit per trade.
...
python3 bta.py
That's all, now let's make some money!
Is this bot profitable?
Well not really, the bot is too slow to be competitive with other bots on the market... But you can still try it and make your own opinion.