Rates Interface

com.oanda.fxtrade.api

Interface RateTable

public interface RateTable

The RateTable object holds all incoming rate information. A ratetable is used to obtain rate info (quotes for currency pairs) and history data for these as well.

getAllSymbols

Retrieves all pairs both tradeable and non-tradable with respect to a home currency.

Parameters

homeCurrency: a home currencies for which to retrieve symbols

Returns: collection of pairs Throws: RateTableException

java.util.Collection<FXPair> getAllSymbols(java.lang.String homeCurrency) throws RateTableException

getRate

Returns the most recent FXTick for the given FXPair without ladder markup.

Parameters:

pair: the FXPair to retrieve using no ladder

Returns: the most recent FXTick Throws: RateTableException

See Also: FXTick, FXPair

FXTick getRate(FXPair pair) throws RateTableException

Find more information about Rate here