Skip to main content

Finviz Finance. Information downloader.

Project description

PyPI - Python Version PyPI PyPI - Wheel PyPI - License Coverage Status Travis (.org) Read the Docs Downloads CodeFactor Donate PayPal Code style: black

finvizfinance

finvizfinance is a package which collects financial information from FinViz website. The package provides the information of the following:

  • Stock charts, fundamental & technical information, insider information and stock news
  • Forex charts and performance
  • Crypto charts and performance

Screener and Group provide dataframes for comparing stocks according to different filters and trading signals.

Docs: https://finvizfinance.readthedocs.io/en/latest/

Downloads

To download the latest version from GitHub:

$ git clone https://github.com/lit26/finvizfinance.git

Or install from PyPi:

$ pip install finvizfinance

Quote

Getting information (fundament, description, outer rating, stock news, inside trader) of an individual stock.

from finvizfinance.quote import finvizfinance

stock = finvizfinance('tsla')

Chart

stock.ticker_charts()

Fundament

stock_fundament = stock.ticker_fundament()

# result
# stock_fundament = {'Company': 'Tesla, Inc.', 'Sector': 'Consumer Cyclical', 
# 'Industry': 'Auto Manufacturers', 'Country': 'USA', 'Index': '-', 'P/E': '849.57', 
# 'EPS (ttm)': '1.94', 'Insider Own': '0.10%', 'Shs Outstand': '186.00M', 
# 'Perf Week': '13.63%', 'Market Cap': '302.10B', 'Forward P/E': '106.17',
# ...}

Description

stock_description = stock.ticker_description()

# stock_description
# stock_description = 'Tesla, Inc. designs, develops, manufactures, ...'

Outer Ratings

outer_ratings_df = stock.ticker_outer_ratings()

Stock News

news_df = stock.ticker_news()

Inside Trader

inside_trader_df = stock.ticker_inside_trader()

News

Getting recent financial news from finviz.

from finvizfinance.news import News

fnews = News()
all_news = fnews.get_news()

Finviz News include 'news' and 'blogs'.

all_news['news'].head()
all_news['blogs'].head()

Insider

Getting insider trading information.

from finvizfinance.insider import Insider

finsider = Insider(option='top owner trade')
# option: latest, top week, top owner trade
# default: latest

insider_trader = finsider.get_insider()

Screener (Overview, Valuation, Financial, Ownership, Performance, Technical)

Getting multiple tickers' information according to the filters.

Example: Overview

from finvizfinance.screener.overview import Overview

foverview = Overview()
filters_dict = {'Index':'S&P 500','Sector':'Basic Materials'}
foverview.set_filter(filters_dict=filters_dict)
df = foverview.screener_view()
df.head()

Screener (Ticker)

Getting list of tickers according to the filters.

Credit

Developed by Tianning Li. Feel free to give comments or suggestions.

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

finvizfinance-0.14.4.tar.gz (709.0 kB view details)

Uploaded Source

Built Distribution

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

finvizfinance-0.14.4-py3-none-any.whl (42.1 kB view details)

Uploaded Python 3

File details

Details for the file finvizfinance-0.14.4.tar.gz.

File metadata

  • Download URL: finvizfinance-0.14.4.tar.gz
  • Upload date:
  • Size: 709.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.8.2 pkginfo/1.7.0 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.8

File hashes

Hashes for finvizfinance-0.14.4.tar.gz
Algorithm Hash digest
SHA256 de2a14dcc0371ac936f365881303dd4d2163910b5384f3153ab99c931d3d1a15
MD5 2451b43fb768e38fc724376c0bef31b2
BLAKE2b-256 07139e651b434b750ad7865a3d9282b6d5a5f933328b0f6f6f18fb75449994d4

See more details on using hashes here.

File details

Details for the file finvizfinance-0.14.4-py3-none-any.whl.

File metadata

  • Download URL: finvizfinance-0.14.4-py3-none-any.whl
  • Upload date:
  • Size: 42.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.8.2 pkginfo/1.7.0 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.8

File hashes

Hashes for finvizfinance-0.14.4-py3-none-any.whl
Algorithm Hash digest
SHA256 0ef24ccf907053b83db7473df0360a4cb349b81fee925f7316f2d23216df8ebb
MD5 d39ad98e646d3b46bc105388347a97a7
BLAKE2b-256 f7267a3a72f41e854cde8b05ccdecaa04c40fae0dcd26eb31b971f88c655590b

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