post
https://api.connex.trade/api/v1/broker/subFeeRate
Setup markup to the trading fee rate of sub portfolios. Only Master API key is supported
Permission
- Applies to primary user's API Key only.
- Permission: TRADE.
Rate Limit
- 5 requests per 2 seconds
Request
| Name | Type | Mandatory | Description |
|---|---|---|---|
| portfolioId | String | N | If not passed, all sub-portfolios under the parent account will be set; If parameters are passed, the settings will be made for the sub-portfolio specified under the name. |
| exchange | String | Y | BINANCE / OKX |
| instType | String | Y | SPOT / PERP |
| chgType | String | Y | ABSOLUTE / PERCENTAGE. |
| chgTaker | String | N | At least one of chgTaker and chgMaker has to be specified. When the chgType is set to "ABSOLUTE", specify markup in bps, precision up to 0.01bps. When the chgType is set to "PERCENTAGE", the chgTaker and chgMaker parameters must be integers.No negative markup is supported. |
| chgMaker | String | N | At least one of chgTaker and chgMaker has to be specified. When the chgType is set to "ABSOLUTE", specify markup in bps, precision up to 0.01bps. When the chgType is set to "PERCENTAGE", the chgTaker and chgMaker parameters must be integers.No negative markup is supported. |
| markupRebateRatio | String | N | The portion of collected markup to rebate back to the sub-portfolio. Range 0–1, 4 decimal places. Omitted keeps the current ratio unchanged; first-time omission is treated as 0. |
| effDate | String | N | Effective date, format as yyyyMMdd. e.g:20241030If not passed, it will take effect the next hour; If parameters are passed, it will take effect at 0:00 (utc+0) on the specified date. |
Response
| Field | Type | Remark |
|---|---|---|
| effDate | String | Effective date |
Note
- Configures markup adjustments and rebate ratios for sub-portfolios.
- Changes can be applied to all sub-portfolios under the main account or to a specific one, and support both absolute and percentage-based adjustments. A rebate ratio can be set to return a portion of the collected markup back to the sub-portfolio.
