跳到主要内容

Change Sub Account Commission

API Description

  • This request will change the commission for a sub account.
  • You need to enable "trade" option for the api key which requests this endpoint.

HTTP Request

POST /sapi/v1/broker/subAccountApi/commission

Weight(UID)

4

Request Parameters

NameTypeMandatoryDescription
subAccountIdSTRINGYES
makerCommissionFLOATYES0.001
takerCommissionFLOATYES0.002
marginMakerCommissionFLOATNO
marginTakerCommissionFLOATNO
recvWindowLONGNO
timestampLONGYES
  • If margin disabled, it is not allowed to send marginMakerCommission or marginTakerCommission.
  • If margin enabled, marginMakerCommission or marginTakerCommission has default value as makerCommission or takerCommission .

Example Response

{
"subAccountId": "1",
"makerCommission": 0.001,
"takerCommission": 0.002,
"marginMakerCommission": 0.001,
"marginTakerCommission": 0.002
}