finish search_by_stock_id