post
https://api.liquiditytech.com/api/v1/trading/portfolio
Create a trading portfolio only by a primary user.
Authentication required. Permission: TRADE. Primary user API keys only.
Rate limit: 3 requests per 10 seconds.
Create a new trading portfolio. After KYB completion, the system automatically creates a "MainPortfolio" for the primary user — this endpoint is for creating additional portfolios. Primary users can create up to 50 additional portfolios. Contact your account manager for higher limits.
Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
name | String | Yes | Portfolio name: 6–20 characters, letters and numbers only, cannot be all numeric, case-sensitive. |
Response Fields
| Field | Type | Description |
|---|---|---|
portfolioId | Long | Unique identifier of the created portfolio. |
name | String | Name of the portfolio. |
Example Request
{
"name": "MyPortfolio"
}
Example Response
{
"code": 200,
"message": "success",
"data": {
"portfolioId": 2154503491108165,
"name": "MyPortfolio"
}
}
