lit26 / finvizfinance

Finviz analysis python library.
https://finvizfinance.readthedocs.io/en/latest/
MIT License
515 stars 85 forks source link

Issue with screener #5

Closed yonice7 closed 3 years ago

yonice7 commented 3 years ago

I tried the same code as in the README file and I got this on Google Colab: Screenshot_2021-01-10_16-02-28

lit26 commented 3 years ago

finvizfinance I have tried on Google Colab myself which doesn't have the problem. Maybe try some other functions and/or update the packages.

Tianning Li

yonice7 commented 3 years ago

I don't get it but I had: foverview.set_filter(filters_dict) instead of foverview.set_filter(filters_dict=filters_dict) now it's working correctly

yonice7 commented 3 years ago

Just one question before you close this, how can I get an Industry P/E ratio like here on Finviz

lit26 commented 3 years ago

It is under finvizfinance.group.valuation

lit26 commented 3 years ago

You can view the example in the example folder of this package.

yonice7 commented 3 years ago

Good, thank you very much!

lit26 commented 3 years ago

This issue will be closed in one day. Thank you for your advice.

Tianning Li

lit26 commented 3 years ago

FYI, filter_dict is not the first parameter in the function so you need to pass in the parameter name.