After downloading the income history of several different api keys, I found interesting cases.
After downloading from the beginning to the end of all records without specifying the type, on some keys the discrepancy is 1 USDT and on some as much as 100 USDT the difference with the real balance. (the longer the story, the greater the difference).
How is this possible? Does Binance store more than 8 decimal and do rounding for api? already posted a problem with incorrect rounding in income here, is this still a thing?
I’m using GET /fapi/v1/income and skip all non USDT records. For storage I’m using decimal(16,8) so no rounding applied and sum calculating correctly.