fixed bugs in get_stock_latest.py