The Stock Statistics Parser.
Douglas A. Lyon · The Journal of Object Technology · 2008
This paper describes how use the HTMLEditorKit to perform web data mining on stock statistics for listed firms.Our focus is on making use of the web to get information about companies, using their stock symbols and YAHOO finance.We show how to map a stock ticker symbol into a company name gather statistics and derive new information.Our example shows how we extract the number of shares outstanding, total volume over a given time period and compute the turnover for the shares.The methodology is based on using a parser-call-back facility to build up a data structure.Screen scraping is a popular means of data entry, but the unstructured nature of HTML pages makes this a challenge.