Skip to main content

hk-ipo-kit

A small, MIT-licensed Python toolkit for Hong Kong IPO research — the two things retail subscribers and students currently assemble by hand from broker notices and exchange filings:

  1. True entry cost per lot — offer price × lot size is not what you pay. hkipo cost adds the 1% brokerage and the SFC / HKEX / FRC levies.
  2. A clean subscription calendar — one CSV row per IPO (open/close, listing date, price range, lot size), loadable in Python or Excel.

中文簡介:計算香港新股每手真實入場費(連佣金及徵費),並提供可直接用於 分析的 IPO 日曆 CSV 資料集。

Install (once published / from a clone)

pip install hk-ipo-kit        # planned for v0.1.0
# from source:
pip install -e .

Examples

hkipo cost --price 10 --lot-size 500
# Shares: 500  Application: HK$5,000.00  Fees: HK$50.42  Total entry: HK$5,050.42

hkipo calendar --file data/sample_ipos.csv --on 2026-10-22
from hkipo import entry_cost
entry_cost(price=12.0, lot_size=100, lots=2, brokerage_rate=0.0)  # broker waives brokerage

Status

v0.0.2. data/oct_2026_ipos.csv now holds real, verified October 2026 listings (ESWIN Computing 1256; Transsion Holdings 2636), and the calculator reproduces both deals' published maximum entry fees to the cent (see tests). data/sample_ipos.csv remains illustrative only. Known gap: the calendar has no status field, so a postponed deal — e.g. Slender West Lake (6157), postponed 20 Oct 2026 after subscriptions closed — cannot yet be represented; that is the v0.0.3 item. Out of scope: prospectus PDF parsing, grey-market prices, and any order placement (this is a research tool, not investment advice).

Contributing / Licence

Issues and PRs welcome — see CONTRIBUTING.md. MIT licence — see LICENSE.

Metadata

Release files for hk-ipo-kit 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hk-ipo-kit 0.0.2
File Size Uploaded Provenance
hk_ipo_kit-0.0.2.tar.gz 5.1 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for hk-ipo-kit 0.0.2
File Interpreter ABI Platform
hk_ipo_kit-0.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 10.6 kB

Release files / hk_ipo_kit-0.0.2.tar.gz

Download URL hk_ipo_kit-0.0.2.tar.gz
Size 5.1 kB
Tags Source
SHA-256 checksum
How to use checksums
88c1fb864d16887e6ccb3ffd170e73bc05bcf295042b38a0587bbbd5d604e4a0
BLAKE2b-256 checksum
How to use checksums
c06128b3c5b9a9eae5ecb31de1192ba473085b74836af206e09dbd07896ea973
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 24, 2026.

Transparency log

Release files / hk_ipo_kit-0.0.2-py3-none-any.whl

Download URL hk_ipo_kit-0.0.2-py3-none-any.whl
Size 5.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5646c000d2b819d7099a97e2bee0190fca48537a1f3024be2142b4ae3b8eddd8
BLAKE2b-256 checksum
How to use checksums
36f2f6d7e79a22143983412583c288dadb2eeebcf9fa8f01e0f1683bdcbce436
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 24, 2026.

Transparency log

Security for hk-ipo-kit 0.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for hk_ipo_kit-0.0.2.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 24, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page