---
updatedAt: 2026-10-16T05:49:31.000Z
agentTools:
  projectIndex: https://apidocliquidity.readme.io/llms.txt
---

# Set Sub Portfolio Fee Rate

## Description

Configures markup adjustments and rebate ratios for sub-portfolios.&#x20;

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.

## Rate Limit

5 requests per 2 seconds.

## Permission

Requires trading permission on the primary user's API key. Read-only keys cannot call this endpoint.

## Request

| Field             | Type     | Mandatory | Description                                                                                                                                                                                  |
| :---------------- | :------- | :-------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| portfolioId       | `String` | N         | If not specified, the configuration applies to all sub-portfolios under the parent account. If provided, it applies only to the specified sub-portfolio.                                     |
| exchange          | `String` | Y         | Supported values: `BINANCE`, `OKX`, `EDX`                                                                                                                                                    |
| instType          | `String` | Y         | Supported values: `SPOT`, `PERP`                                                                                                                                                             |
| chgType           | `String` | Y         | Supported values: `ABSOLUTE`, `PERCENTAGE`                                                                                                                                                   |
| chgTaker          | `String` | N         | Either `chgTaker` or `chgMaker` must be provided. They cannot both be null.                                                                                                                  |
| chgMaker          | `String` | N         | Either `chgTaker` or `chgMaker` must be provided. They cannot both be null.                                                                                                                  |
| markupRebateRatio | `String` | N         | The portion of collected markup to **rebate** back to the sub-portfolio. <br />Range 0–1, 4 decimal places. Omitted keeps the current ratio unchanged; first-time omission is treated as 0.  |
| effDate           | `String` | N         | If not specified, the configuration takes effect at the start of the next hour (UTC+0). If specified, it takes effect on the designated date (UTC+0). Format: `yyyyMMdd` (e.g., `20241030`). |

## Response

| Field   | Type     | Description    |
| :------ | :------- | :------------- |
| effDate | `String` | Effective date |

```json
 {
    "code": 200000, 
    "message": "Success", 
    "data": {
        "effDate": "20260617 09:00:00"
    }
}
```

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "ltp-api",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://api.liquiditytech.com"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "oauth2",
        "flows": {
          "clientCredentials": {
            "tokenUrl": "https://example.com/oauth2/token",
            "scopes": {}
          }
        }
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/api/v1/broker/subFeeRate": {
      "post": {
        "summary": "Set Sub Portfolio Fee Rate",
        "description": "",
        "operationId": "set-sub-user-fee-rate",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "portfolioId": {
                    "type": "string"
                  },
                  "exchange": {
                    "type": "string"
                  },
                  "instType": {
                    "type": "string"
                  },
                  "chgType": {
                    "type": "string"
                  },
                  "chgTaker": {
                    "type": "string"
                  },
                  "chgMaker": {
                    "type": "string"
                  },
                  "effDate": {
                    "type": "string"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n    \"code\": 200000, \n    \"message\": \"Success\", \n    \"data\": {\n        \"effDate\": \"20260617 09:00:00\"\n    }\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "integer",
                      "example": 200000,
                      "default": 0
                    },
                    "message": {
                      "type": "string",
                      "example": "Success"
                    },
                    "data": {
                      "type": "object",
                      "properties": {
                        "effDate": {
                          "type": "string",
                          "example": "20260617 09:00:00"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "security": []
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": false,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```