latestTime, timestampPriceMap, and priceFrequency.update, adjust latestTime if necessary, update timestampPriceMap, and adjust priceFrequency.current, return the price at latestTime from timestampPriceMap.maximum, return the last key from priceFrequency.minimum, return the first key from priceFrequency.