Cryptocurrency-Trading-Bots-Python-Beginner-Advance
Cryptocurrency-Trading-Bots-Python-Beginner-Advance copied to clipboard
Fee Percentage Wrong
Regarding TriArb TriArbTrader
The fee calculation is incorrect it appears.
line 573 ---- fee_percentage = 0.1*3 #divided by 100 pseudo -> fee_percentage = 10%*3 = 30% Shouldn't the fee percentage be 0.001 * 3 not 0.1 * 3 ?
Hello - I believe when fee percentage is used, it is either divided by 100 or it compares to a value with a similar order of magnitude.
on line 691, you can see that the calculated fees are multiplied times 100, converting them into percentage. So fee percentage is in percentage,
line 573 ----- fee_percentage = 0.1%*3
Also the fee percentage will be different if you pay with Binance coin as well.