Skip to main content

Library for interacting with https://finviz.com

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fvscraper-0.0.1.tar.gz (11.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fvscraper-0.0.1-py3-none-any.whl (12.3 kB view details)

Uploaded Python 3

File details

Details for the file fvscraper-0.0.1.tar.gz.

File metadata

  • Download URL: fvscraper-0.0.1.tar.gz
  • Upload date:
  • Size: 11.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.6

File hashes

Hashes for fvscraper-0.0.1.tar.gz
Algorithm Hash digest
SHA256 a2cf5d825d5e5f2b147ef61e3b80e029bcc1247b62ee6a92c0e52988568992c6
MD5 cdcc3671d8058922d48f0222f2508999
BLAKE2b-256 8bd0649f0402c700958da9fb93a433de470008b42d1042e9be46876e7bdf877f

See more details on using hashes here.

File details

Details for the file fvscraper-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: fvscraper-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 12.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.6

File hashes

Hashes for fvscraper-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7b1405fd26ac86ba756edf30c3e857aa67724312aae594693c01a57c45bab2cb
MD5 ff20c9bd1d4059396fbf6eb9c16ba7ed
BLAKE2b-256 33606ef10667d3c73b9468a62d0cc42bfc52e7310e4c63eccdd13eeda42fa7bf

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page