find rate and currency code