@@ -13,7 +13,7 @@ pystock-crawler
13
13
``pystock-crawler `` is a utility for crawling historical data of US stocks,
14
14
including:
15
15
16
- * Ticker symbols listed in NYSE and NASDAQ from `NASDAQ `_
16
+ * Ticker symbols listed in NYSE, NASDAQ or AMEX from `NASDAQ.com `_
17
17
* Daily prices from `Yahoo Finance `_
18
18
* Fundamentals from 10-Q and 10-K filings (XBRL) on `SEC EDGAR `_
19
19
@@ -70,26 +70,27 @@ After installing prerequisites, you can then install ``pystock-crawler`` with
70
70
Quickstart
71
71
----------
72
72
73
- **Example 1. ** Google's and Yahoo's daily prices ordered by date::
73
+ **Example 1. ** Fetch Google's and Yahoo's daily prices ordered by date::
74
74
75
75
pystock-crawler prices GOOG,YHOO -o out.csv --sort
76
76
77
- **Example 2. ** Daily prices of all companies listed in ``./symbols.txt ``::
77
+ **Example 2. ** Fetch daily prices of all companies listed in
78
+ ``./symbols.txt ``::
78
79
79
80
pystock-crawler prices ./symbols.txt -o out.csv
80
81
81
- **Example 3. ** Facebook's fundamentals during 2013::
82
+ **Example 3. ** Fetch Facebook's fundamentals during 2013::
82
83
83
84
pystock-crawler reports FB -o out.csv -s 20130101 -e 20131231
84
85
85
- **Example 4. ** Fundamentals all companies in ``./nyse.txt `` and direct the
86
- logs to ``./crawling.log ``::
86
+ **Example 4. ** Fetch fundamentals of all companies in ``./nyse.txt `` and direct
87
+ the log to ``./crawling.log ``::
87
88
88
89
pystock-crawler reports ./nyse.txt -o out.csv -l ./crawling.log
89
90
90
- **Example 5. ** All ticker symbols in NYSE and NASDAQ ::
91
+ **Example 5. ** Fetch all ticker symbols in NYSE, NASDAQ and AMEX ::
91
92
92
- pystock-crawler symbols NYSE,NASDAQ -o out.txt
93
+ pystock-crawler symbols NYSE,NASDAQ,AMEX -o out.txt
93
94
94
95
95
96
Usage
@@ -125,7 +126,7 @@ There are three commands available:
125
126
* ``pystock-crawler reports `` grabs fundamentals
126
127
127
128
``<exchanges> `` is a comma-separated string that specifies the stock exchanges
128
- you want to include. Only NYSE and NASDAQ are supported.
129
+ you want to include. Current, NYSE, NASDAQ and AMEX are supported.
129
130
130
131
The output file of ``pystock-crawler symbols `` can be used for ``<symbols> ``
131
132
argument in ``pystock-crawler prices `` and ``pystock-crawler reports ``
@@ -195,7 +196,7 @@ the ``sample_data`` directory.
195
196
196
197
.. _libffi : https://sourceware.org/libffi/
197
198
.. _lxml : http://lxml.de/
198
- .. _NASDAQ : http://www.nasdaq.com/
199
+ .. _NASDAQ.com : http://www.nasdaq.com/
199
200
.. _Scrapy : http://scrapy.org/
200
201
.. _Scrapy's installation guide : http://doc.scrapy.org/en/latest/intro/install.html
201
202
.. _SEC EDGAR : http://www.sec.gov/edgar/searchedgar/companysearch.html
0 commit comments