HOSE, HNX, UPCoM Ceiling & Floor Price Calculator
Ceiling and floor prices with HOSE / HNX / UPCoM bands and ticks, T+2 settlement and ex-rights dates on trading days, profit after fees and 0.1 % tax.
Result
Press “Run” to see the result.
action=price: from the exchange (hose, hnx, upcom), security type (stock, fund, etf, cw) and reference price, the ceiling and floor rounded to the tick: HOSE ±7 % (20 % on the first trading day), HNX ±10 % (30 %), UPCoM ±15 % (40 %); HOSE ticks 10 / 50 / 100 đ by price range, 10 đ for ETFs and covered warrants, 100 đ on HNX and UPCoM; ceiling and floor move one tick away when rounding lands on the reference. Covered warrants use the underlying’s band divided by the conversion ratio. list=1 returns every valid price; quantity checks board / odd lots.
action=settlement: T+2 settlement date of a trade_date and the ex-rights date (one trading day before the record_date) and the last day to buy, skipping weekends and Vietnamese public holidays. action=pnl: profit of a round trip after broker fees (default 0.15 %), the 0.1 % personal income tax on the sale value and 5 % on cash dividends, with the break-even price. action=rules: the full table (lots, maximum order 500 000 on HOSE, put-through minimums). Prices are not provided.
Use this in your code
curl "https://apibox.io.vn/v1/vn-stock-rules?action=price&exchange=hose&reference=39000" \
-H "Authorization: Bearer YOUR_API_KEY"const res = await fetch('https://apibox.io.vn/v1/vn-stock-rules?action=price&exchange=hose&reference=39000', {
method: 'GET',
headers: {
Authorization: 'Bearer YOUR_API_KEY',
},
});
const data = await res.json();
console.log(data);import requests
res = requests.get(
"https://apibox.io.vn/v1/vn-stock-rules?action=price&exchange=hose&reference=39000",
headers={"Authorization": "Bearer YOUR_API_KEY"},
timeout=30,
)
print(res.json())<?php
$ch = curl_init('https://apibox.io.vn/v1/vn-stock-rules?action=price&exchange=hose&reference=39000');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ['Authorization: Bearer YOUR_API_KEY'],
]);
$response = curl_exec($ch);
print_r(json_decode($response, true));API documentation → Get a free API key
FAQ
Why is the HOSE ceiling of 39 000 equal to 41 700 and not 41 730?
Ceilings are rounded down to the tick (50 đ between 10 000 and 49 950), floors up: 39 000 × 1.07 = 41 730 → 41 700; 39 000 × 0.93 = 36 270 → 36 300.
Are Saturday make-up working days trading days?
No, the exchanges trade Monday to Friday and close on public holidays; the calendar comes from /v1/vn-holidays.
Is the 0.1 % tax charged on a loss?
Yes, it is withheld on the sale value of every sale, profit or loss.