updated stock.py

added substr and ticker functions, ticker is all a user would need to run, to stay up to date.