Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rows returned don't match online screener #164

Open
RichardBoreiko opened this issue Apr 19, 2023 · 2 comments
Open

Rows returned don't match online screener #164

RichardBoreiko opened this issue Apr 19, 2023 · 2 comments

Comments

@RichardBoreiko
Copy link

Using this criteria I get 11 rows:
some_filters = [filters["Country"]["USA"],
filters["Market Cap."]["Mid ($2bln to $10bln)"],
filters["Option/Short"]["Optionable"],
filters["20-Day Simple Moving Average"]["Price below SMA20"],
filters["50-Day Simple Moving Average"]["Price below SMA50"],
filters["200-Day Simple Moving Average"]["Price above SMA200"],
filters["Average Volume"]["Over 1M"],
filters["Current Volume"]["Over 1M"]]

But this URL returns 39 rows.
https://finviz.com/screener.ashx?v=111&f=cap_midover,geo_usa,sh_avgvol_o1000,sh_curvol_o1000,sh_opt_option,ta_sma20_pb,ta_sma200_pa,ta_sma50_pb&ft=4

@jacobstac
Copy link

I think this was fixed here: ba6c092

@RichardBoreiko
Copy link
Author

RichardBoreiko commented Apr 20, 2023

It wasn't, although that patch did fix returning zero rows which I was also getting.

The issue of not matching the row counts occurred after having made that patch.

I included the code and the URL so someone would be able to verify it without too much difficulty.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants