It seems Finviz has no API which is sort of sad. I love IQFeed but they do not really support Linux natively. So here I am looking at Barchart.
There is a way to build scanning techniques vs getLeader function found in Python as hinted at here.
Their Premiere membership is only $29 which is cheap. Who thinks it includes API access since they appear to be featured differently?
FAQ and potential sign up here for free ApI access https://www.barchart.com/ondemand/free-market-data-api/faq
I got the basics working with a free API key but ran into trouble with leaders function (see the examples farther down) https://www.barchart.com/ondemand/api/getLeaders
Also refer to ‘Sample Queries’ section in CSV format, you can get response with
symbol,symbolName,exchange,country,sicSector,industry,subIndustry,timestamp, tradeTimestamp,lastPrice,priceNetChange,pricePercentChange,previousClose, `volume,previousVolume,standardDeviation
I just got the quote. It is very very expensive for monthly access to the APIs of Barchart. We are talking in the excess of $500 -$1000 for each one. I my mind, that is excessive so I need to find a works around in Linux with IQFeed.
As in the suds package, you will notice will not pip install so pay attention to this package replacement
Get some free tech trading book https://quantlabs.net/
Talk to me about your trading https://quantlabs.net/questions/
Interesting in getting these live trading signals https://quantlabs.net/elite/NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!