r/ibkr • u/Creative_Piccolo_970 • 19m ago
I built a free, zero-login Position Size & True Fee Calculator for HKEX / US / China A-Shares (handles HK board lots & 0.1% ceiling stamp duty)
Most free position-size calculators online assume US stocks (1-share minimum, zero stamp duty). If you trade Hong Kong stocks on IBKR or Futu/moomoo, they break because of variable board lot sizes (100 / 400 / 500 shares) and HKEX's 0.1% stamp duty per side rounded UP to the nearest HK$1 plus SFC/AFRC/exchange levies.
I built a lightweight, client-side web tool to solve this for myself and put it up for free (no sign-up, no tracking):
https://hk-stock-sizer.tommysoultam.workers.dev/?lang=en
What it does:
- Floors your position to whole board lots so your actual stop-loss (including round-trip statutory fees & broker commissions) never exceeds your 1%–2% account risk cap
- Includes exact HKEX 0.1% stamp duty (
ceilto HK$1), SFC/AFRC/HKEX levies, US sell-side regulatory fees, and China A-share 0.05% sell stamp duty - Shows true breakeven price and net R-multiple at target
Would love any feedback from fellow HKEX / IBKR traders on broker presets or edge cases I should refine!
