FINVIZ Scraper
A library for interacting with https://finviz.com
Install
$ pip install fvscraper
The package name is fvscraper but it should be imported as finscraper
How to use
from finscraper import Screener
filters = {
"descriptive": {
"exchange": "NYSE",
"industry": "stocksonly"
},
"technical": {
"performance": "1w30o"
},
}
screener = Screener()
tickers = screener.query(filters=filters)
print(tickers)
#>>> Tickers Bin containing 20 tickers
print(tickers[0].company)
#>>> BIT Mining Limited
print(tickers[0].volume)
#>>> 1122310
tickers.to_csv("scraped.csv")
Filters on the Finviz ui
The filters are split into Descriptive, Fundamental & Technical
Descriptive filters
- Exchange
- Market Cap
- Earnings Rate
- Target Price
- Index
- Dividend Yield
- Average Volume
- IPO Date
- Sector
- Float Short
- Relative Volume
- Shares Outstanding
- Industry
- Analyst Recommendation
- Current Volume
- Float
- Country
- Option/Short
- Price
Fundamental
- P/E
- Price/Cash
- EPS growth next 5 years
- Return on Equity
- Debt/Equity
- Insider Ownership
- Forward P/E
- Price/Free Cash Fl
- Sales growth past 5 years
- Return on Investment
- Gross Margin
- Insider Transactions
- PEG
- EPS growth this year
- EPS growth qtr over qtr
- Current Ratio
- Operating Margin
- Institutional Ownership
- P/S
- EPS growth next year
- Sales growth qtr over qtr
- Quick Ratio
- Net Profit Margin
- Institutional Transactions
- P/B
- EPS growth past 5 years
- Return on Assets
- LT Debt/Equity
- Payout Ratio
Technical
- Performance
- 20-Day Simple Moving Average
- 20-Day High/Low
- Beta
- Performance 2
- 50-Day Simple Moving Average
- 50-Day High/Low
- Average True Range
- Volatility
- 200-Day Simple Moving Average
- 52-Week High/Low
- RSI
- Change
- Pattern
- Gap
- Change from Ope
- Candlestick
TODO
- Proxy to rotate IP's
Release files for fvscraper 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| fvscraper-0.0.1.tar.gz | 11.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| fvscraper-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 23.6 kB
Release files / fvscraper-0.0.1.tar.gz
| Download URL | fvscraper-0.0.1.tar.gz |
|---|---|
| Size | 11.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a2cf5d825d5e5f2b147ef61e3b80e029bcc1247b62ee6a92c0e52988568992c6
|
|
BLAKE2b-256 checksum How to use checksums |
8bd0649f0402c700958da9fb93a433de470008b42d1042e9be46876e7bdf877f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.6
|
Release files / fvscraper-0.0.1-py3-none-any.whl
| Download URL | fvscraper-0.0.1-py3-none-any.whl |
|---|---|
| Size | 12.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7b1405fd26ac86ba756edf30c3e857aa67724312aae594693c01a57c45bab2cb
|
|
BLAKE2b-256 checksum How to use checksums |
33606ef10667d3c73b9468a62d0cc42bfc52e7310e4c63eccdd13eeda42fa7bf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.6
|