added controller function to get history for multiple symbols