Get results from a finviz screener url.
$ npm install node-finviz-screener
const { getFinvizScreen } = require('node-finviz-screener')
getFinvizScreen(
"https://finviz.co/screener.ashx?v=111f=cap_largeover,exch_nyse,sec_technology"
).then((res) => console.log(res));
// [
'ACN', 'AI', 'ANET', 'APH', 'ASX', 'AVLR',
'BILL', 'BKI', 'BR', 'CAJ', 'CDAY', 'CLVT',
'CRM', 'DELL', 'DNB', 'DT', 'EPAM', 'ESTC',
...
]
getFinvizScreen( finvizScreenURL )
finvizScreenerURL: string
: required
Must be a valid link to a finviz screener. Go to https://finviz.com/screener.ashx
to build your desired screen, then copy the URL and paste as argument. It's that easy.
A Promise
that resolves to an array of strings containing the tickers that pass the screen.
MIT