This small project requires the ability to download a list of stock information (new screener results.) from a webpage, compare it to my current list (my current stock holdings). It must then notify me if anything from the downloaded list does not occur in my holdings.
Basically, I want it to notify me of the new results so I can research the company.
Here are the details.
Python script. (or some other language?)
Needs to run daily. At least once a day. (lets say at noon).
Checks a file of my current holdings (investments, csv with tickers provided.)
against the results of the most recent screener (screener url (from finviz) is provided.)
Therefore, the program must download the screener webpage html.
parses it, to collect all the tickers that pass the screener filter (usually multiple pages of results) and the current price of the stock (on the page).
and assembles a list. (lets call it new screener results)
The program must be able to get current price (screener results has this on the same page), and 52wk low (screener results does not have this. It must be gathered from google finance, yahoo finance, or from finviz (example: http://finviz.com/quote.ashx?t=aapl, on that page you want to grab the result for "52W Low", also has current price))
After that, compares the screener results against my current holdings (investments file).
If the ticker does NOT match with any in my current investments
and the ticker (stock) is within 20% of the 52wk low.
Send me a message via text and email to notify me. (phone number and email provided.)
Must also save the new screener results to a local folder.