help hkar

Title

hkar -- Downloads historical financial data for a list of Hong Kong public firms from s.askci.com.

Syntax

hkar codelist,
[options]

path(foldername) Specify a folder where output .dta files will be saved in

Description

hkar is used to download historical financial data for a list of Hong Kong public firms.

code In Hong Kong, stocks are coded in five digits, not tickers as in the United States. Examples of codes and the names are as follows:

Stock Codes and Stock Names:

00001 CK Hutchison Holdings Ltd.

00002 CLP Holdings Ltd.

00395 Smartac International Holdings Limited

Note: The leading zeros in each code can be omitted.

path specifies the folder where the output .dta files are to be saved. The folder can be either existed or a new folder. If the folder specified does not exist, hkar will create it automatically.

Examples

`"hkar 1"'

The Hong Kong stock code has a length of 5. If you enter an insufficient length, it will be recognized as the leftmost digit of the stock code(eg input 1 equals 00001), and then hkar will extract a list of historical financial data for code you entered.

`"hkar 00001"'

It will extract a list of historical financial data for code you entered.

`"hkar 1 3"'

It will extract various lists of historical financial data for code you entered.

`"hkar 00395, path(D:/temp)"'

It will extract a list of historical financial data for codes you entered, with output files saving to folder D:/temp/.

Authors

Chuntao LI

China Stata Club(爬虫俱乐部)

Wuhan, China

chtl@zuel.edu.cn

Xiuping Mao

China Stata Club(爬虫俱乐部)

Wuhan, China

xiuping_mao@126.com

Tianyao Luo

China Stata Club(爬虫俱乐部)

Business School, Xinjiang University, China

cnl1426@163.com