get exchange rate from previous date