Triangular arbitrage is the result of a discrepancy between three foreign currencies that occurs when the currency's exchange rates do not exactly match up. These opportunities are rare and traders who take advantage of them usually have advanced computer equipment and/or programs to automate the process.
This is a triangular arbitrage bot made entirely in python using the ccxt libraries to handle the binance api, It's an endless loop that scans opportunity for binance and executes the operations if found, multi-threaded and with a simple log that it save in a file.
The base money for this bot is ETH, while the exchange currency is BTC, as a result, there are two types of arbitrage:
- Forward: passing first from ETH through the ALT to then be changed to BTC and back to ETH
- Backward: passing first from ETH through BTC to then be changed to the selected ALT and back to ETH
In theory yes, if there is any chance, but due to the fees it will be very difficult and I would even dare to say impossible to make any operation since the bot takes into account the binance fee.
- ccxt
- Implement something that can alert you remotely like a Telegram Bot
- Make the base currency eligible
- Add more exchanges
- Make base currency selectable