跳到主要内容

Change Sub Account Commission

Change Sub Account Commission

POST /sapi/v1/broker/subAccountApi/commission

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

Weight(UID): 4

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 .

Response:

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