And also I imagine, that the buyerCommission is to apply when we do a “buy side” order, and a sellerCommission is to apply when we do a “sell side” order.
So, I also suppose that the commission is something like:
commission = makerCommission + buyerCommission
But, I don’t know when I should apply a maker or a taker commission.
Of course there is a description in the documentation, but there are some corner cases it seems.
So, it is not that easy to determine between maker / taker, and I didn’t find this information anywhere in the API.
So, do you have any idea how I can accurately compute the commission from the API ?
As for buyer/seller commission fields. Based on what I’ve seen so far, they’re usually = 0. I’m not sure under what conditions those values are not 0, so if you want more clarifications, I would suggest contacting the Customer Support about the commission formula for when buyer/seller commission != 0.