The JAVA SDK is deprecated

  • The OANDA v1 REST API will cease to function for your account as early as May 2018.
  • Please migrate your applications to use the v20 REST API. A Java wrapper is available in the sample code section.

User Interface

com.oanda.fxtrade.api

Interface User

public interface User

Provides access to user information.

getAccounts

Returns a Vector of Accounts owned by this user

java.util.Vector<extends Account> getAccounts()

getUserName

Returns the login username for this user.

java.lang.String getUserName()

Find more information about User here