Created
August 1, 2016 21:14
-
-
Save lloydroc/c84640fe615f8a87aba4ae0a3a933227 to your computer and use it in GitHub Desktop.
Fetch stocks on the NASDAQ and backup yesterdays fetched
This file contains 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
mv /srv/nasdaqtraded.txt /srv/nasdaqtraded.txt`date --date="yesterday" +"%m-%d-%Y"` | |
wget ftp://ftp.nasdaqtrader.com/SymbolDirectory/nasdaqtraded.txt | |
mv nasdaqtraded.txt /srv/nasdaqtraded.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment