added multiStockHistory function