Last active
August 11, 2016 22:41
-
-
Save lloydroc/6f01ee8afa2eab8f4eb92263bbf4ccc4 to your computer and use it in GitHub Desktop.
Scala program that fetches traded stock tickers and ETFs from the NASDAQ, note other exchanges like NYSE are also in this file.
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
import scala.language.postfixOps | |
import sys.process._ | |
object NasdaqTickerFetcher extends App { | |
val tickers = "wget ftp://ftp.nasdaqtrader.com/SymbolDirectory/nasdaqtraded.txt"!!; | |
println(tickers) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See https://gist.github.com/lloydroc/6048394a47f5360e99832c8f79a2474a on how to parse this file.