fixing lookback for get_prices