lit26 / finvizfinance

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

Multiple exchange option #28

Closed ghost closed 3 years ago

ghost commented 3 years ago

Hi,

How I can choose to download info only on two exchanges? i.e. NYSE and NASDAQ?

I tried something like:

[foverview = Overview()
filters_dict = {'Exchange': 'NYSE', 'Exchange': 'NASDAQ'}
foverview.set_filter(filters_dict=filters_dict)
df = foverview.ScreenerView()](url)

But it looks that it downloads info based only on the second filter.

lit26 commented 3 years ago

You need to call the function multiple times or use the filter on the dataframe as finviz doesn't support multiple exchanges