Welcome to Finviz Finance in Python’s documentation!

It is a Finviz Finance information downloader.

Installation (python >= v3.5)

> virtualenv -p python3 virtualenvironment
> source virtualenvironment/bin/activate
> pip install finvizfinance

Quote Examples

import pandas as pd
from finvizfinance.quote import finvizfinance

stock = finvizfinance('tsla')

Example downloading chart:


Example getting individual ticker information

stock_fundament = stock.ticker_fundament()
stock_description = stock.ticker_description()
outer_ratings_df = stock.ticker_outer_ratings()
news_df = stock.ticker_news()
inside_trader_df = stock.ticker_inside_trader()

Screener Example

from finvizfinance.screener.overview import Overview
foverview = Overview()
filters_dict = {'Exchange':'AMEX','Sector':'Basic Materials'}
df = foverview.screener_view()

News Example

from finvizfinance.news import News
fnews = News()
all_news = fnews.get_news()
# all_news['news'].head()
# all_news['blogs'].head()

Insider Example

from finvizfinance.insider import Insider
finsider = Insider(option='top owner trade')

Indices and tables