lit26 / finvizfinance

Finviz analysis python library.

Home Page:https://finvizfinance.readthedocs.io/en/latest/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Options in the arguments of the function

opened this issue · comments

Hi, thanks for the very useful library.

But something that is missing in the documentation is that is not clear what are the options

In this example

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.ScreenerView()
df.head()

Cannot understand where I can find the number of different indices and the related information that can be filtered or passed as arguments.

You can get the options by checking the finviz website or use getFilters() and/or getFilterOptions(screen_filter). For more detail, please check the document: https://finvizfinance.readthedocs.io/en/latest/screener.html.