Skip to main content

Finviz Finance. Information downloader.

Project description

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.

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.3.tar.gz (10.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.3-py3-none-any.whl (16.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: finvizfinance-0.3.tar.gz
  • Upload date:
  • Size: 10.0 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for finvizfinance-0.3.tar.gz
Algorithm Hash digest
SHA256 cc53b630b07a5dd9dcbc922bed098e7c41ab04c469002ee4c63a857be717b065
MD5 668793a159bfb6da19b5f1033f28c150
BLAKE2b-256 a42bf8fcb3c484138f3f8e23fda903879c4e4aed71c1d7fabf229324ba513a42

See more details on using hashes here.

File details

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

File metadata

  • Download URL: finvizfinance-0.3-py3-none-any.whl
  • Upload date:
  • Size: 16.4 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for finvizfinance-0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 006d098ec0de1d6788394eb6ac339323bab57f4deee305d6644987d450fa3a64
MD5 7deba04f7528879ce3498fcb9ab46409
BLAKE2b-256 9b8578b3469f838c198575a188b47c7240f40d6254cd907681395d067ab2e9ec

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