fixed a minor bug in get_stock_latest.py