getExchangeRate

public double getExchangeRate()

Returns the exchange rate between the two currencies: how many units of the quote currency one unit of the base currency buys. The API sends the rate at full precision, so a rate against a currency with a small unit value can carry several more decimal places than the two a price is usually displayed with.

Return

the rate, in units of the quote currency per unit of the base currency