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
| 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
marginMakerCommissionormarginTakerCommission. - If margin enabled,
marginMakerCommissionormarginTakerCommissionhas default value asmakerCommissionortakerCommission.
Example Response
{
"subAccountId": "1",
"makerCommission": 0.001,
"takerCommission": 0.002,
"marginMakerCommission": 0.001,
"marginTakerCommission": 0.002
}