This is a project that's been on the shelf for a bit. It depends on the free yahoo finance quote updates which were operational a year ago and a subscription to stocktables dot com which I have let lapse due to some data refresh latency. But it can be edited easily to interface with your data provider.
Yahoo Finance's queries are now returned in JSON format which require the correct module to be used in the URL. I'm working on retrieving a full list of Hershey filtered universe from Yahoo Finance. I will make the project available upon completion.