05-24-2016, 10:11 AM
Hi,
This is very doable and have created something related. I wrote a program in Python and used the Selenium library to login to a website and scrape certain key data. If that data met a specific criteria, it would text me. You could do something similar here by scripting Selenium to go to something like finance.yahoo.com and pull quotes from the various stocks.
Actually, Yahoo seems to use a consistent URL structure for quotes that should simplify this. Here is the URL that I see when I try to quote GM:
http://finance.yahoo.com/q?s=gm&fr=uh3_f...b&uhb=uhb2
It appears that you can simply replace the symbol after the first "=" and get a different quote.
BTW, I found that the easiest way to text was to use an email to text gateway. Here is a list of them.
This is very doable and have created something related. I wrote a program in Python and used the Selenium library to login to a website and scrape certain key data. If that data met a specific criteria, it would text me. You could do something similar here by scripting Selenium to go to something like finance.yahoo.com and pull quotes from the various stocks.
Actually, Yahoo seems to use a consistent URL structure for quotes that should simplify this. Here is the URL that I see when I try to quote GM:
http://finance.yahoo.com/q?s=gm&fr=uh3_f...b&uhb=uhb2
It appears that you can simply replace the symbol after the first "=" and get a different quote.
BTW, I found that the easiest way to text was to use an email to text gateway. Here is a list of them.