You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Any quotes data displayed on finviz.com is delayed by 15 minutes for NASDAQ, and 20 minutes for NYSE and AMEX. This API should **NOT** be used for live trading, it's main purpuse is financial analysis, research and data scraping.
12
18
19
+
### Install the current release using PyPi
20
+
21
+
pip install finviz
22
+
13
23
### Using Screener()
14
24
15
-
from finviz import Screener
25
+
from finviz.screener import Screener
16
26
17
-
tickers = ['AAPL', 'ATVI', 'TSLA']
18
-
filters = ['exch_nasd', 'cap_large'] # Shows companies in NASDAQ with Market Cap from $10bln. to $200bln.
27
+
filters = ['exch_nasd', 'cap_large'] # Shows companies in NASDAQ with a market cap from $10bln. to $200bln.
19
28
order = '-price' # Orders the results by price descending
29
+
30
+
stocks = Screener(filters, order, rows=50) # Get the first 50 results
31
+
32
+
# Export the screener results to .csv
33
+
stocks.to_csv()
20
34
21
-
Screener(tickers, filters, order, rows=37)
22
-
Screener.to_csv()
35
+
# Create a SQLite database
36
+
stocks.to_sqlite()
23
37
24
-
# Creates screener_results.csv file in the current directory
0 commit comments