HK IPO Fee Calculator
v0.1.0Exact Hong Kong IPO costs: entry fee, margin interest, break-even price, scenarios, sell fees
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
hk_ipo_amount_payable
Amount payable to apply for `shares` HK IPO shares at `offer_price` (HK$): application money + 1% brokerage + 0.0027% SFC levy + 0.00015% AFRC levy + 0.00565% HKEX trading fee, each rounded to the cent. For the one-lot 'entry fee', pass shares = board lot.
| Parameter | Type | Description |
|---|---|---|
offer_price * | number | |
shares * | integer |
hk_ipo_plan
Full HK IPO subscription plan: entry fee, total payable, own cash vs margin loan, margin interest (loan × rate × days / 365), fixed cost, break-even sell price (after 0.1% stamp duty rounded up to HK$1, trading fee, levies, broker charges) and P&L / expected value under day-one change scenarios. annual_rate and sell_commission_rate are fractions (0.035 = 3.5%). allot_probability is 0..1, or pass valid_applications + successful_applicants from the allotment results announcement.
| Parameter | Type | Description |
|---|---|---|
board_lot * | integer | |
offer_price * | number | |
allot_probability | ||
allotted_lots | integer | |
annual_rate | number | |
financing_fee | number | |
handling_fee | number | |
interest_days | integer | |
lots_applied | integer | |
margin_multiple | number | |
scenarios_pct | ||
sell_commission_rate | number | |
sell_min_commission | number | |
sell_platform_fee | number | |
successful_applicants | ||
valid_applications |
hk_sell_costs
Costs of selling HK shares: stamp duty 0.1% (rounded up to HK$1), trading fee 0.00565%, SFC 0.0027%, AFRC 0.00015% (each to the cent) + broker commission/platform fee. Returns total and net proceeds.
| Parameter | Type | Description |
|---|---|---|
price * | number | |
shares * | integer | |
commission_rate | number | |
min_commission | number | |
platform_fee | number |
hk_ipo_rules
Cited summary of HK IPO rules: topic = fees | allocation_mechanisms | pools | settlement | all.
| Parameter | Type | Description |
|---|---|---|
topic | string |
hk_company_lookup
Find HK-listed companies by English/Chinese name or stock code in Wikidata (CC0, community-maintained; verify before relying on it). Returns code, names, listing date, industry, website, Wikidata id.
| Parameter | Type | Description |
|---|---|---|
query * | string | |
limit | integer |
hk_listings
HK listings with a listing date in Wikidata (CC0), newest first; since/until are YYYY-MM-DD. Coverage of recent IPOs is incomplete; IPO terms are NOT included.
| Parameter | Type | Description |
|---|---|---|
limit | integer | |
since | ||
until |