help hkprlink

Title

hkprlink -- Obtain and download disclosure reports from 1999-04-01 to now on the official website of the Hong Kong Stock Exchange.

Syntax

hkprlink codelist,
[options]

path(foldername) Specify a folder where output files will be saved in. Chinese characters are not allowed in the path.

Description

codelist is a list of stock codes. In Hong Kong, stocks are identified by a five digit numbers. Examples of codes and the names are as follows:

Stock Codes and Stock Names:

00001 CK Hutchison Holdings Ltd.

00002 CLP Holdings Ltd.

00099 WONG'S INTERNATIONAL HOLDINGS LIMITED

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

path Specify a folder where output files will be saved in. The folder can be either existed or a new folder. If the folder specified does not exist, hkprlink will create it automatically.

Examples

`"hkprlink 1"'

The length of the Hong Kong stock code is 5. If the entered length is insufficient, it will be filled with 0 (for example, entering 1 equals 00001).

`"hkprlink 00001"'

It will extract the link and name of the report for stock code 00001, and download all reports.

`"hkprlink 00001 00002"'

It will extract the link and name of the report for stock codes 00001 and 00002, and download all reports.

`"hkprlink 00099, path(D:/temp/)"'

It will extract the link and name of the report for stock codes 00099, and download all reports to the folder D:/temp/.

Authors

Chuntao LI

China Stata Club(爬虫俱乐部)

Wuhan, China

chtl@zuel.edu.cn

Tianyao Luo

China Stata Club(爬虫俱乐部)

Xinjiang University Business School, China

cnl1426@163.com

Dr. Muhammad Usman

UE Business School, Division of Management and Administrative Sciences

University of Education, Lahore, Pakistan

m.usman@ue.edu.pk

Haitao Si

Wuhan University, China

sihaitao0114@163.com