Open majiddjango opened 4 years ago
The script currently does not account for fees. So it might give an impression there are many existing arbitrage opportunities on Binance.
The first version of the script actually accounted for fees so I'm not sure why this check was removed in this second version.
The workaround is to subtract 3x of your trading fee from the profit.
Binance charges 0.075% fee for a trade if you pay in BNB. As a triangular arbitrage includes 3 trades, we can say anything less than (0.075 x 3) = 0.225% is not profitable. If you aren't paying in BNB then goes up to 0.3%.
Assuming you will pay in BNB, you can account for transaction fees by using profit > 0.226 as a filter criteria.
hi there, i have seen your YT video great work, Congrats. but i was wondering ,does it account for fees?