Created
June 8, 2011 06:18
-
-
Save r2k0/1013884 to your computer and use it in GitHub Desktop.
check all your stocks from CLI
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl -w | |
@TICKER = ('ERTS','GOOG','AAPL','MSFT','INTC'); | |
foreach $stocks (@TICKER){ | |
print "$stocks\t"; | |
system("curl -s 'http://download.finance.yahoo.com/d/quotes.csv?s=$stocks&f=l1'") | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment