10101
10101 copied to clipboard
Deducted fee is not considered in the max quantity calculation
easy reproducible on test with a 100% fee rebate. After buying or selling max the max will only decrease but not go to 0 on the next trade.
This is because the max quantity calculation considers the full fee without the rebate.