clean up getHistoricalData
cap ticker sym