Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

does it account for fees? #4

Open
majiddjango opened this issue Jul 18, 2020 · 1 comment
Open

does it account for fees? #4

majiddjango opened this issue Jul 18, 2020 · 1 comment

Comments

@majiddjango
Copy link

majiddjango commented Jul 18, 2020

hi there, i have seen your YT video great work, Congrats.
but i was wondering ,does it account for fees?

@salian
Copy link

salian commented Jun 15, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants