Create Portfolio

Create a trading portfolio only by a primary user.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

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 typeCan callScope
Main User Level API key (also the main Portfolio key)YesCreates Sub Portfolios under the main user.
Sub-user Level API keyNoNot supported by this endpoint.
Dedicated Sub Portfolio API keyNoNot 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.

ParameterTypeRequiredDescription
nameStringYesPortfolio name: 6–20 characters, letters and numbers only, cannot be all numeric, case-sensitive.

Response fields

FieldTypeDescription
codeintegerApplication result code. 200 means success.
messagestringResult message.
dataobjectPortfolio result.
data.portfolioIdinteger (int64)Portfolio identifier. Preserve the full integer value.
data.namestringPortfolio 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.

Body Params
string
required

portfolio name

Response

Language
LoadingLoading…
Response
Choose an example:
application/json