ENH: Screener Feature Request: url converter instead of manually filter list.
Jiamingou opened this issue · comments
Is your feature request related to a problem?
For the overview feature, won't it be better if you just take the given link and obtain stocks list from the link ? Is kind of taking much more works to copy each filter criterial and put them into a dict by clients.
Describe the solution you'd like
Accpet clients url , and crawl the filtered list given by the url.
API breaking implications
for instance, Overview (url = 'https://finviz.com/screener.ashx?v=111&f=idx_sp500,sh_avgvol_u500') , you write the class method "_convert_url_dict" that turn the specific argument from the link into a filter dict internally, and then set it as the filter dict to Overview().
User Code Example :
foverview = Overview(url = 'https://finviz.com/screener.ashx?v=111&f=idx_sp500,sh_avgvol_u500')
df = foverview.screener_view()
df.head()
+1 on this
+1 on this
Are you working on this?