Hello, I’m trying to use the api to have all the data from COIN-M (an integration to a dashboard) but when I sum the quantities it was different from what I have in binance (not for all tokens) but someones are also negative (comparing to binance).
Basically I’m using the rout /dapi/v1/userTrades to iterate to all symbols (symbols available on https://dapi.binance.com/dapi/v1/exchangeInfo symbols), then I save the realized PNL and the fee.
Then I use the route /dapi/v1/incomeHistory to get to the following incomeType: COMMISSION, FUNDING_FEE, WELCOME_BONUS, TRANSFER, REFERRAL_KICKBACK and INSURANCE_CLEAR
What I’m doing wrong? Has anyone managed to deal with this?
João de Deus