post
https://api.liquiditytech.com/api/v1/trading/portfolio
Create a trading portfolio only by a primary user.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Creates an additional RapidX Sub Portfolio under the main user. The response returns its ID and name; creating a Portfolio does not fund it.
API key access
Requires a signed LTP Open API request with TRADE permission.
| API key type | Can call | Scope |
|---|---|---|
| Main User Level API key (also the main Portfolio key) | Yes | Creates Sub Portfolios under the main user. |
| Sub-user Level API key | No | Not supported by this endpoint. |
| Dedicated Sub Portfolio API key | No | Not supported by this endpoint. |
Rate limit: 3 requests per 10 seconds.
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 body
Send a JSON object with Content-Type: application/json.
| 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 |
|---|---|---|
code | integer | Application result code. 200 means success. |
message | string | Result message. |
data | object | Portfolio result. |
data.portfolioId | integer (int64) | Portfolio identifier. Preserve the full integer value. |
data.name | string | Portfolio name after this operation. |
Example Request
{
"name": "MyPortfolio"
}Example Response
{
"code": 200,
"message": "success",
"data": {
"portfolioId": 2154503491108165,
"name": "MyPortfolio"
}
}Check the application code, not only the HTTP status. See Error codes for error responses.
