Class CurrencyPair

java.lang.Object
org.knowm.xchange.instrument.Instrument
org.knowm.xchange.currency.CurrencyPair
All Implemented Interfaces:
Serializable, Comparable<CurrencyPair>

public class CurrencyPair extends Instrument implements Comparable<CurrencyPair>, Serializable
Value object to provide the following to API:
  • Provision of major currency symbol pairs (EUR/USD, GBP/USD etc)
  • Provision of arbitrary symbol pairs for exchange index trading, notional currencies etc

Symbol pairs are quoted, for example, as EUR/USD 1.25 such that 1 EUR can be purchased with 1.25 USD

See Also: