finvizfinance
Fetch information from finviz
Quote
Getting information (fundament, description, outer rating, stock news, inside trader) of an individual stock.
import pandas as pd
from finvizfinance.quote import finvizfinance
stock = finvizfinance('tsla')
Chart
stock.TickerCharts()
Fundament
stock_fundament = stock.TickerFundament()
# result
# stock_fundament = {'Index': '-',
# 'P/E': '-',
# 'EPS (ttm)': '-0.87',
# 'Insider Own': '0.10%',
# 'Shs Outstand': '183.00M',
# 'Perf Week': '3.00%',
# 'Market Cap': '295.14B',
# 'Forward P/E': '135.32',
# 'EPS next Y': '131.09%',
# 'Insider Trans': '-33.47%',
# 'Shs Float': '147.41M',
# 'Perf Month': '60.14%',
# 'Income': '-144.30M',...}
Description
stock_description = stock.TickerDescription()
# stock_description
# stock_description = 'Tesla, Inc. designs, develops, manufactures, ...'
Outer Ratings
outer_ratings_df = stock.TickerOuterRatings()
Stock News
news_df = stock.TickerNews()
Inside Trader
inside_trader_df = stock.TickerInsideTrader()
News
Getting recent financial news from finviz.
from finvizfinance.news import finviznews
fnews = finviznews()
all_news = fnews.getNews()
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.getInsider()
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)
df = foverview.ScreenerView()
df.head()
Screener (Ticker)
Getting list of tickers according to the filters.
Metadata
Release files for finvizfinance 0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| finvizfinance-0.4.tar.gz | 10.1 kB | Without provenance | Details for finvizfinance-0.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| finvizfinance-0.4-py3-none-any.whl | Python 3 | none | any | Details for finvizfinance-0.4-py3-none-any.whl |
Total release size: 26.5 kB
Release files / finvizfinance-0.4.tar.gz
| Download URL | finvizfinance-0.4.tar.gz |
|---|---|
| Size | 10.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
90d4d35f667ed320f9b28a49e0fddcd76c18ee71b69e2d8f4658f6e13e685c09
|
|
BLAKE2b-256 checksum How to use checksums |
437b879cbb6a2cbbaefb49ea972beec6455f3d999e135018092b69d2696b9cf8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.5
|
Release files / finvizfinance-0.4-py3-none-any.whl
| Download URL | finvizfinance-0.4-py3-none-any.whl |
|---|---|
| Size | 16.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c158a70a9ecea7be0d3aa036afbcce8b7449d89e4c26d2effb55a309226e3fc0
|
|
BLAKE2b-256 checksum How to use checksums |
a8f33619403b9d739ccd7eca0c9d2fbec233026bbac41d0064a8d461db060d77
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.5
|
Security for finvizfinance 0.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.