exchange_rate function

constructor for spot exchange rate instruments