Skip to content
Longport Whale
HK IPO

Generate Lucky (Allotment) Review

The HK IPO "allotment" flow: enter the issue price/bookkeeping date → choose the allotment file type and upload → generate an allotment-result preview. It shares these endpoints with the Allotment Audit page. It generates real allotment data.

POSThttps://b-api.longbridge.xyz/ipo/generate/lucky/review

Authorization

AuthorizationstringheaderRequired

Send the Broker ACCESS_TOKEN as Authorization: Bearer <token>.

Request body application/json

counter_idstringrequired

Counter ID. The subscription instrument's counter_id, passed in from the entry point.

issue_pricestringrequired

Issue Price. Issue price, in HKD, with 2 decimal places.

ledger_datestringrequired

Ledger Date. Bookkeeping date, a dropdown selection (the three most recent bookkeeping dates).

file_typestringrequired

File Type. Allotment file type, single-select. 1 = CCASS HKEX allotment result, 2 = custom CSV, 3 = upstream OB allotment file (skips upload), 4 = FINI reconciled result push, 5 = FINI auto pull (shown only when the tenant supports FINI; US stocks allow only 2).. Options: 1 = CCASS; 2 = Custom CSV; 3 = OB Lucky File; 4 = FINI Push; 5 = FINI Pull

12345

file_namestring

File Name. File name (the uploaded file name when file_type=1/2; may be empty when file_type=3).

file_pathstring

File Path. The file storage path (the upload-returned path when file_type=1/2; may be empty when file_type=3).

Responses

HTTP 200No confirmable field definitions are available for the response yet.
Standard response envelopecodemessagedata
dataobjectdata structure

No nested fields

Whale Docs