I have the same issue with Bittrex. Cannot figure out the numbers in the trade history.
I bought some CloakCoin today and in the "My Order History" table it shows as this
BID/ASK | UNITS FILLED CLOAK | UNITS TOTAL CLOAK | ACTUAL RATE | COST / PROCEEDS | 0.00132105 | 13.15148308 | 13.15148308 | 0.00132104 | -0.01741719 |
|
Funny, but your numbers check out if we use rounding up to the nearest 1e-8 unit separately for the fee, contrary to my previous post for the OP's numbers... Your numbers are copy/paste so let me trust them more.
Anyway, your fees were 13.15148308 / (1 - 0.0025) - 13.15148308 = 0.03296111047619, rounded up to 8 digits: 0.03296112.
13.15148308 * 0.00132104 = 0.017373635208, rounded up: 0.01737364 (this is how much you paid for the amount you actually received)
0.03296112 * 0.00132104 = 0.00004354295796, rounded up: 0.00004355 (this is how much you paid for the fees)
0.01737364 + 0.00004355 = 0.01741719, which checks out.
If we add up the amount and the fee first:
(13.15148308 + 0.03296112) * 0.00132104 = 0.017417178165, rounded up: 0.01741718, which does not check out.