From bae6fb41fc9eb46548f5d24171c24c780f8dddb0 Mon Sep 17 00:00:00 2001 From: Mario Stoev Date: Tue, 4 Dec 2018 20:27:04 +0200 Subject: [PATCH 1/3] Update README.md --- README.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 8e47821..73c8b52 100644 --- a/README.md +++ b/README.md @@ -24,10 +24,8 @@ Any quotes data displayed on finviz.com is delayed by 15 minutes for NASDAQ, and from finviz.screener import Screener - filters = ['exch_nasd', 'cap_large'] # Shows companies in NASDAQ with a market cap from $10bln. to $200bln. - order = '-price' # Orders the results by price descending - - stocks = Screener(filters, order, rows=50) # Get the first 50 results + filters = ['exch_nasd', 'idx_sp500'] # Shows companies in NASDAQ which are in the S&P500 + stocks = Screener(filters=filters, order='price') # Get the first 50 results sorted by price ascending # Export the screener results to .csv stocks.to_csv() @@ -35,6 +33,11 @@ Any quotes data displayed on finviz.com is delayed by 15 minutes for NASDAQ, and # Create a SQLite database stocks.to_sqlite() + # Print the table into the console + print(stocks) + +![alt text](https://i.imgur.com/cb7UdxB.png) + ### Download results as a chart stocks.get_charts(period='m', chart_type='c', size='l', ta=False) # Monthly, Candles, Large, No Technical Analysis From 3552194ffaa19ada484e3b3bbabad82e7c6b3b5d Mon Sep 17 00:00:00 2001 From: Mario Stoev Date: Tue, 4 Dec 2018 20:27:32 +0200 Subject: [PATCH 2/3] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 73c8b52..626a83b 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ Any quotes data displayed on finviz.com is delayed by 15 minutes for NASDAQ, and ![alt text](https://i.imgur.com/cb7UdxB.png) -### Download results as a chart +### Download results as charts stocks.get_charts(period='m', chart_type='c', size='l', ta=False) # Monthly, Candles, Large, No Technical Analysis From f23b18382692019cde60cd8db2ff184afb223370 Mon Sep 17 00:00:00 2001 From: Mario Stoev Date: Tue, 4 Dec 2018 20:30:04 +0200 Subject: [PATCH 3/3] Update README.md --- README.md | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 626a83b..0c572c1 100644 --- a/README.md +++ b/README.md @@ -55,16 +55,7 @@ Any quotes data displayed on finviz.com is delayed by 15 minutes for NASDAQ, and # ta=True > display technical analysis # ta=False > ignore technical analysis +### Documentation - -Below, you can see all of the possible arguments that can be passed through Screener(): - -| Argument | Type | Example | Default | -| :--- | :---: | :---: | :---: | -| tickers | list | ['AAPL', 'ATVI', 'TSLA'] | None | -| filters | list | ['exch_nasd', 'cap_large'] | None | -| order | string | '-price' | None | -| signal | string | 'ta_topgainers' | None | -| table | string | 'Performance' | 'Overview' | -| rows | string | 43 | Maximum | +You can read the rest of the documentation inside the docstrings.