Clean up historical price data array