One of the best ways to do record the syntax of a web query is to use
the macro recorder. When you do this, make sure that you use the VBE
Help to look up the query options, particularly .RefreshStyle
and .WebSelectionType. Personally, I typically use the xlOverWrite
for .RefreshStyle and xlEntriePage for .WebSelectionType.
Once you have the query figured out, you can then setup a variable or
an array for your tickers, encase the web query in a loop, copy your
output to the desired places, and then run your program on the
tickers.
Be sure to pick an appropriate benchmark for your alpha and make sure
that you know how the website is calculating beta. Also, make sure
that beta is really "telling" you the truth and decide whether or not
you like "volatility."
Matt