Get Trading Portfolio List

Retrieve trading portfolio list under primary user.

Permission

  • Applies to primary user's API Key only.
  • Permission: READ.

Rate Limit

  • no rate limit

Query parameters

Field nameTypeNecessaryRemarks
portfolioIdLongNportfolio id
nameStringNportfolio name
belongingToIntegerN0:MainPortfolio; 2:Other Trading Portfolio
pageIntegerNCurrent page, default=1, the min value=1
pageSizeIntegerNPage size, default=100, the max value=1000

Response fields

Result and pagination

Field nameTypeRemarks
codeintegerApplication result code. 200 means success.
messageStringResult message.
dataobjectPaginated Portfolio result.
data.pageintegerCurrent page number.
data.pageSizeintegerPage size used for the result.
data.pageNumintegerTotal number of pages. This is not the current page number; use data.page for that.
data.totalSizeintegerTotal number of Portfolio records matching the filters.
data.listarrayPortfolio records on the current page.

Portfolio record: data.list[]

Field nameTypeRemarks
portfolioIdLongportfolioId
nameStringname
belongingToInteger0:MainPortfolio; 2:Other Trading Portfolio
createAtLongcreate timestamp
updateAtLongupdate timestamp
Query Params
int64
required

portfolio id

string

portfolio name

string

portfolio which belongs to

int32
Defaults to 1

Current page, default=1, the min value=1

int32
Defaults to 100

Page size, default=100, the max value=1000

Response

Language
LoadingLoading…
Response
Choose an example:
application/json