I've copied this program which works on another computer (which used XP) to a new one using Windows 7. When I ran it, I got the message that getstocks was either undefined or an illegal command. I use variants of the program to download numerous indices, all of which now give the same message. I can't see what the difference could be other than it might somehow be related to changed path differences between the two versions of Windows. I'm using the latest update to EV7.1.
Code: Select all
'change path
%path = @runpath
cd %path
'retrieve data
getstocks(c, start = "2001/10/17", end="2010/12/31") ^aord ^axjo
rename _aord_close aao
rename _axjo_close asx200
save auscfsd.xls
save auscfsd.wf1
