Create 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

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

Response Fields

FieldTypeDescription
portfolioIdLongUnique identifier of the created portfolio.
nameStringName of the portfolio.

Example Request

{
  "name": "MyPortfolio"
}

Example Response

{
  "code": 200,
  "message": "success",
  "data": {
    "portfolioId": 2154503491108165,
    "name": "MyPortfolio"
  }
}
Body Params
string
required

portfolio name

Response

Language
Response
Choose an example:
application/json