Sergey
Sergey

Reputation: 69

Get information about trading commissions in Binance API

I want to get info about commissions on Binance. Especially about trading commissions (exchange operations, for example I want to buy ETH and pay by BTC). I've looked over all binance git: https://github.com/binance-exchange and found nothing about that. The closest what I found is account information. Using curl GET /api/v3/account we can get response that has (full example is here):

{
  "makerCommission": 15,
  "takerCommission": 15,
  "buyerCommission": 0,
  "sellerCommission": 0
}

But I don't really get what maker and taker commissions mean, 15 is very strange number. And buyer and seller too because it is very suspicious that they are 0.

I'm pretty sure that it should be a way to get this info, because, for example, HitBTC has such info: https://api.hitbtc.com/#get-trading-commission

I will be very grateful for any help and information. Thanks in advance!

Upvotes: 6

Views: 9670

Answers (2)

Maxim Egorushkin
Maxim Egorushkin

Reputation: 136208

But I don't really get what maker and taker commissions mean, 15 is very strange number.

In trading, fees/commission are assumed to be in basis points units, aka bps (pronounced as bips), ‰ (per mille) symbol.

Normally, trading fees are a fraction of a percent, so that expressing them in percentage units would always require 0. prefix which is a nuisance to pronounce, e.g. "fee is 15 hundredths of a percent" vs "fee is 15 bps".

Upvotes: 1

A. STEFANI
A. STEFANI

Reputation: 6737

As @Yann39 said, just divide the value by 10000, to get the fee as percent

e.g: makerCommission : 15 <=> 15/10000 = 0.0015 = 0.15%

Upvotes: 1

Related Questions