bmino / binance-triangle-arbitrage

Detect in-market cryptocurrency arbitrage
MIT License
1.07k stars 336 forks source link

Feature Request: Variable Fee (e.g. 0.1% of order volume) #132

Closed 0x10 closed 3 years ago

0x10 commented 3 years ago

Binance charges currently 0.1% of each order volume as fee (may be less, if the fee is paid in BNB). Currently the arbitrage-bot only allows for a fixed fee.

It would be great if the config allows for setting the fee to a percentage of the order volume.

bmino commented 3 years ago

If you aren't paying the fee in BNB (and getting the discount), you are paying more than necessary.

The bot does allow you to configure the fee. This fee is configured by EXECUTION.FEE and is expressed as a percent. Check out the config readme here

0x10 commented 3 years ago

I'm too retarded to rtfm. Sorry for bothering.

Yes, you are right with the discount/fee, but as BNB is also a actively traded currency, the risk of "increased fees du to price variance of BNB" is low but not zero.

Thank you for replying to me.