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:
Name | Type | Mandatory | Description |
---|---|---|---|
subAccountId | STRING | YES | |
makerCommission | FLOAT | YES | 0.001 |
takerCommission | FLOAT | YES | 0.002 |
marginMakerCommission | FLOAT | NO | |
marginTakerCommission | FLOAT | NO | |
recvWindow | LONG | NO | |
timestamp | LONG | YES |
- If margin disabled, it is not allowed to send
marginMakerCommission
ormarginTakerCommission
. - If margin enabled,
marginMakerCommission
ormarginTakerCommission
has default value asmakerCommission
ortakerCommission
.
Response:
{
"subAccountId": "1",
"makerCommission": 0.001,
"takerCommission": 0.002,
"marginMakerCommission": 0.001,
"marginTakerCommission": 0.002
}