help chinafin

Title

chinafin -- Downloads historical financial data for a list
of Chinese public firms from the Internet

Syntax

chinafin codelist,
[options]

path(foldername) output folder

codelist is a list of stock codes to be downloaded. Stock codes are separated by spaces.
For each valid stock code, there will be one Stata-format data file output
containing all the annual report financial data for the corresponding listed firm.
The stock code will also be used as the output file name, with .dta as the extension.
In China, stocks are identified by a six digit number, instead of using tickers as in NYSE.
Examples of Stock Codes and the name of the list firms are as following:

000001 Pingan Bank

000002 Vank Real Estate Co. Ltd.

600000 Pudong Development Bank

600005 Wuhan Steel Co. Ltd.

900901 INESA Electron Co.,Ltd.

The leading zeros in each stock code can be omitted.

path specifies the folder where Stata-formatted financial data for each stock are saved

The folders can be either existing folders or new folders

If the folder specified does not exist, chinafin will create it automatically

Examples

. chinafin 002046 300236 600573, path(d:\account)

. chinafin 002046 300236 600573

. chinafin 2 5

Authors

Xuan Zhang

Zhongnan University of Economics and Law

Wuhan, China

zhangx@znufe.edu.cn

Chuntao Li

Zhongnan University of Economics and Law

Wuhan, China

chtl@znufe.edu.cn

Cheng Pan

Zhongnan University of Economics and Law

Wuhan, China

panchengmail@163.com

Acknowledgments

We owe Prof. Christopher Baum many thanks for his help and suggestions on designing the code, especially on Mata programming. Of course, all the errors belong to the authors.