In a *nix-based environment such as Mac OSX it is very simple to set up 'cron jobs' that run at any periodic interval. This presentation illustrates how 'cron', the perl scripting language and Stata are used to generate a database of daily stock quotes from a regional index, compute an investor sentiment index based on a Spearman rank correlation, and "publish" the results to a web page. Stata's file command is particularly useful in generating the various formats needed in the web page presentation.
Download Info
To download:
If you experience problems downloading a file, check if you have the
proper application to
view it first. Information about this may be contained
in the File-Format links below. In case of further problems read
the IDEAS help
page. Note that these files are not on the IDEAS
site. Please be patient as the files may be large.