From 964ccc2bb8111128282d3467d02d0ed12c0eefcf Mon Sep 17 00:00:00 2001 From: Joe Cabrera Date: Mon, 29 Dec 2014 18:05:06 -0500 Subject: [PATCH] importing from ticker list --- examples/download.py | 2 +- tickers.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 tickers.txt diff --git a/examples/download.py b/examples/download.py index 74223f0..e8fe34d 100644 --- a/examples/download.py +++ b/examples/download.py @@ -16,6 +16,6 @@ os.mkdir(docs_directory) # for every ticker in our input file, download all the relevant documents -with open('data.txt', 'r') as reader: +with open('tickers.txt', 'r') as reader: for line in reader: ingestor.file_downloader(edgar.ingest_stock(line.rstrip()), docs_directory) diff --git a/tickers.txt b/tickers.txt new file mode 100644 index 0000000..b3db228 --- /dev/null +++ b/tickers.txt @@ -0,0 +1 @@ +AAPL