Skip to content

Instantly share code, notes, and snippets.

@lloydroc
Last active August 11, 2016 22:41
Show Gist options
  • Save lloydroc/6f01ee8afa2eab8f4eb92263bbf4ccc4 to your computer and use it in GitHub Desktop.
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.
import scala.language.postfixOps
import sys.process._
object NasdaqTickerFetcher extends App {
val tickers = "wget ftp://ftp.nasdaqtrader.com/SymbolDirectory/nasdaqtraded.txt"!!;
println(tickers)
}
@lloydroc
Copy link
Author

lloydroc commented Aug 7, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment