lit26 / finvizfinance

Finviz analysis python library.

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

'Overview' object has no attribute 'ScreenerView'

opened this issue · comments

Hi I am running the example in the documentation and I am getting this error

from finvizfinance.screener.overview import Overview

foverview = Overview()
filters_dict = {'Index': 'S&P 500'}
foverview.set_filter(filters_dict=filters_dict)
df = foverview.ScreenerView()


---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
/var/folders/7g/gr9fl0cx43g5f42xf78n_str0000gn/T/ipykernel_59856/4129785455.py in <module>
      2 filters_dict = {'Index': 'S&P 500'}
      3 foverview.set_filter(filters_dict=filters_dict)
----> 4 df = foverview.ScreenerView()

AttributeError: 'Overview' object has no attribute 'ScreenerView'

I cannot understand the reason.

Sorry for the late response. Most functions have changed the function name to meet the python coding style. So ScreenerView has changed to screener_view. Please refer to the latest doc (https://finvizfinance.readthedocs.io/en/latest/index.html) for others. Thanks.