Tidy Finance Vietnam is an open-source initiative that adapts the Tidy Finance framework for the Vietnamese financial market. The project provides reproducible, well-documented Python code for conducting empirical finance research using data from the Ho Chi Minh Stock Exchange (HOSE), Hanoi Stock Exchange (HNX), and the Unlisted Public Company Market (UPCOM).
Vietnam’s stock market has grown rapidly since its establishment in 2000, with over 1,800 listed companies and a market capitalization exceeding $200 billion. Yet accessible, code-driven resources for academic and professional research on Vietnamese markets remain scarce. This project fills that gap.
Dự án Tidy Finance Vietnam là sáng kiến mã nguồn mở nhằm áp dụng khung phân tích Tidy Finance cho thị trường tài chính Việt Nam. Dự án cung cấp mã Python có thể tái tạo và được tài liệu hóa đầy đủ để thực hiện nghiên cứu tài chính thực nghiệm sử dụng dữ liệu từ Sở Giao dịch Chứng khoán TP.HCM (HOSE), Sở Giao dịch Chứng khoán Hà Nội (HNX) và thị trường UPCoM.
The complete English-language guide to empirical finance in Vietnam. This book walks you through every step, from acquiring Vietnamese market data to implementing cutting-edge asset pricing models.
Topics covered:
Hướng dẫn toàn diện bằng tiếng Việt về tài chính thực nghiệm tại Việt Nam. Cuốn sách hướng dẫn từng bước, từ thu thập dữ liệu thị trường Việt Nam đến triển khai các mô hình định giá tài sản tiên tiến.
Nội dung bao gồm:
If you use Tidy Finance Vietnam in your research, please cite:
Vietnam is one of the fastest-growing frontier-to-emerging markets in the world. Key characteristics make it a compelling case for empirical finance research:
Access daily and intraday data from HOSE, HNX, and UPCOM. Work with Vietnamese government bond yields, macroeconomic indicators, and corporate financial statements. Build reproducible data pipelines with Python.
Implement CAPM, Fama-French three- and five-factor models, and Carhart four-factor models calibrated for Vietnamese equities. Construct size, value, momentum, profitability, and investment factors using Vietnamese data.
Analyze bid-ask spreads, price impact measures (Amihud illiquidity, Kyle’s lambda), order flow dynamics, and the effects of Vietnam’s price limit bands on volatility and liquidity.
Estimate Value-at-Risk (VaR) and Expected Shortfall using historical simulation, parametric, and Monte Carlo methods adapted for Vietnamese return distributions with fat tails and price limits.
Apply machine learning methods for Vietnamese stock return prediction and portfolio construction.
Map co-ownership, co-director, and industry-based networks across Vietnamese firms. Analyze systemic risk propagation, information diffusion, and portfolio diversification through network lenses.
The project integrates data from multiple Vietnamese and international sources:
| Source | Description | Coverage |
|---|---|---|
| DataCore.vn | Vietnamese data platform | Equities, bonds, macro, corporate filings |
| HOSE / HNX / UPCOM | Official exchange data | Daily and intraday trades, order books |
| State Securities Commission (SSC) | Regulatory filings | Corporate disclosures, fund flows |
| State Bank of Vietnam (SBV) | Central bank data | Interest rates, monetary policy, FX |
| General Statistics Office (GSO) | National statistics | GDP, CPI, industrial production |
| World Bank / IMF | International macro data | Cross-country comparisons |
Finance students and academics seeking reproducible research tools for the Vietnamese markets
Quantitative analysts and portfolio managers working with Vietnamese equities
Data scientists interested in applying Python to emerging market finance
Policy researchers studying the Vietnamese capital market development
CFA and FRM candidates looking for practical, code-based finance examples
Vietnamese finance professionals wanting international-standard analytical tools
Sinh viên và nhà nghiên cứu tài chính muốn công cụ nghiên cứu có thể tái tạo cho thị trường Việt Nam
Nhà phân tích định lượng và quản lý danh mục làm việc với cổ phiếu Việt Nam
Chuyên gia tài chính Việt Nam muốn công cụ phân tích đạt chuẩn quốc tế
The books and all analyses are built entirely with open-source tools:
Tidy Finance Vietnam is open source and welcomes contributions. Whether you find a typo, want to add a new chapter, improve existing code, or translate content, your help is valued.