https://api.lbkrs.com/v2/portfolio/asset/ipo_analysisParameters
periodstringqueryRequiredStatistics period:
- all: All
- 1m: Last 1 month
- 3m: Last 3 months
- 6m: Last 6 months
- 1y: Last 1 year
all1m3m6m1y
account_channelstringqueryBroker channel
Responses
HTTP 200The request succeeded. The response body contains the result of the “Get IPO subscription P/L summary” operation.codemessagedatadataobjectdata structureStatistics period, with the same values as the period request parameter; an empty string when there are no IPO subscription records
Whether there are IPO subscription trading records; when false, the page shows the empty state, and all other amount fields are empty strings
Data update time, as a timestamp in seconds
Total P/L generated by IPO subscriptions for stocks within the selected period
P/L ratio, as a decimal (for example 0.12 means 12%)
Allotted profit amount (the "Allotted profit" part of the P/L breakdown)
Share of the allotted profit amount
Allotted loss amount (the "Allotted loss" part of the P/L breakdown)
Share of the allotted loss amount
Non-allotted loss amount (the "Non-allotted loss" part of the P/L breakdown)
Share of the non-allotted loss amount
Position market value: the market value of the remaining allotted shares after allotment, calculated on a first-in, first-out (FIFO) basis; excludes positions bought in the grey market or after the listing date
Sold amount: the amount sold within the allotted shares during the selected period after allotment, calculated on a first-in, first-out (FIFO) basis; sell order handling fees are not deducted
IPO subscription cost: the sum of three parts within the selected period: the cost of positions remaining after allotment, the cost of positions allotted in the current period, and the subscription handling fees and financing interest for non-allotted subscriptions
Allotment rate, as a decimal
Allotted profit rate, as a decimal