A B C D E F G H I L M N O P R S T U V

A

AccessDeniedException - Exception in com.oanda.fxtrade.api
 
AccessDeniedException() - Constructor for exception com.oanda.fxtrade.api.AccessDeniedException
 
AccessDeniedException(String) - Constructor for exception com.oanda.fxtrade.api.AccessDeniedException
 
AccessDeniedException(String, Exception) - Constructor for exception com.oanda.fxtrade.api.AccessDeniedException
 
AccessDeniedException(Exception) - Constructor for exception com.oanda.fxtrade.api.AccessDeniedException
 
Account - Interface in com.oanda.fxtrade.api
An Account object represents an existing Oanda account.
AccountBusyException - Exception in com.oanda.fxtrade.api
AccountBusyException is thrown if a command cannot be executed because the account is busy
AccountBusyException() - Constructor for exception com.oanda.fxtrade.api.AccountBusyException
 
AccountBusyException(String) - Constructor for exception com.oanda.fxtrade.api.AccountBusyException
 
AccountException - Exception in com.oanda.fxtrade.api
AccountException is the base exception thrown by any Account object function
AccountException() - Constructor for exception com.oanda.fxtrade.api.AccountException
 
AccountException(String) - Constructor for exception com.oanda.fxtrade.api.AccountException
 
add(FXEvent) - Method in interface com.oanda.fxtrade.api.FXEventManager
Add an FXEvent to this FXEventManager, to be notified of incoming FXEventInfos
addObserver(Observer) - Method in interface com.oanda.fxtrade.api.FXClient
Compensates Observable methods
API - Class in com.oanda.fxtrade.api
API is a factory class with static methods for creation of different class instances used to utilise OANDA fxTrade API.
API() - Constructor for class com.oanda.fxtrade.api.API
 

B

backtraceAsString(Throwable) - Static method in class com.oanda.fxtrade.api.Trace.LogFormatter
 
BOND - Static variable in interface com.oanda.fxtrade.api.Instrument
 

C

CacheMode - Enum in com.oanda.fxtrade.api
Defines caching policies that can be requested when making calls that might return cached data.
CandlePoint - Interface in com.oanda.fxtrade.api
CandlePoint class is a container for candle information.
changePassword(String, String) - Method in interface com.oanda.fxtrade.api.User
Change User Password
clone() - Method in interface com.oanda.fxtrade.api.CandlePoint
 
clone() - Method in interface com.oanda.fxtrade.api.FXHistoryPoint
 
clone() - Method in interface com.oanda.fxtrade.api.FXPair
Returns a exact copy of this FXPair.
clone() - Method in interface com.oanda.fxtrade.api.FXTick
Returns a exact copy of this FXTick.
clone() - Method in interface com.oanda.fxtrade.api.LimitOrder
Returns a exact copy of this LimitOrder.
clone() - Method in interface com.oanda.fxtrade.api.MarketOrder
Returns a exact copy of this MarketOrder.
clone() - Method in interface com.oanda.fxtrade.api.MarketTransferOrder
Returns a exact copy of this MarketTransferOrder.
clone() - Method in interface com.oanda.fxtrade.api.MinMaxPoint
 
clone() - Method in interface com.oanda.fxtrade.api.StopLossOrder
Returns a exact copy of this StopLossOrder.
clone() - Method in interface com.oanda.fxtrade.api.TakeProfitOrder
Returns a exact copy of this TakeProfitOrder.
clone() - Method in interface com.oanda.fxtrade.api.Transaction
Returns a exact copy of this Transaction.
close(LimitOrder) - Method in interface com.oanda.fxtrade.api.Account
Closes the specified LimitOrder.
close(MarketOrder) - Method in interface com.oanda.fxtrade.api.Account
Closes the specified MarketOrder.
close(String) - Method in interface com.oanda.fxtrade.api.Account
 
closeAllLimitOrders() - Method in interface com.oanda.fxtrade.api.Account
Closes all limit orders.
closeAllMarketOrders() - Method in interface com.oanda.fxtrade.api.Account
Closes all market orders.
com.oanda.fxtrade.api - package com.oanda.fxtrade.api
 
COMMODITY - Static variable in interface com.oanda.fxtrade.api.Instrument
 
compareTo(Object) - Method in interface com.oanda.fxtrade.api.FXAccountEventInfo
Comparable implementation
compareTo(Object) - Method in interface com.oanda.fxtrade.api.FXEventInfo
Comparable implementation
compareTo(FXPair) - Method in interface com.oanda.fxtrade.api.FXPair
Performs a lexicographical comparison of two FXPair objects.
compareTo(Object) - Method in interface com.oanda.fxtrade.api.FXRateEventInfo
Comparable implementation
Configuration - Class in com.oanda.fxtrade.api
 
CONNECTED - Static variable in interface com.oanda.fxtrade.api.FXClient
Used when notifying Observers of a connection to the server
createEventManagerThread(boolean) - Method in interface com.oanda.fxtrade.api.FXClient
This method is used to create a new instance of the event dispatch thread.
createFXClient(ServerInfo) - Static method in class com.oanda.fxtrade.api.API
 
createFXGame() - Static method in class com.oanda.fxtrade.api.API
Creates new instance of FXGame class
createFXPair() - Static method in class com.oanda.fxtrade.api.API
Creates new instance of FXPair class
createFXPair(String) - Static method in class com.oanda.fxtrade.api.API
Creates new instance of FXPair class
createFXPair(String, String) - Static method in class com.oanda.fxtrade.api.API
Creates new instance of FXPair class
createFXTick(long, double, double) - Static method in class com.oanda.fxtrade.api.API
Creates new instance of FXTick class
createFXTrade() - Static method in class com.oanda.fxtrade.api.API
Creates new instance of FXTrade class
createKeepAliveThread(boolean) - Method in interface com.oanda.fxtrade.api.FXClient
This method is used to create a new instance of the keepalive thread.
createLimitOrder() - Static method in class com.oanda.fxtrade.api.API
Creates new instance of LimitOrder class
createMarketOrder() - Static method in class com.oanda.fxtrade.api.API
Creates new instance of MarketOrder class
createMarketTransferOrder() - Static method in class com.oanda.fxtrade.api.API
 
createRateThread(boolean) - Method in interface com.oanda.fxtrade.api.FXClient
Deprecated. 
createServerInfo() - Static method in class com.oanda.fxtrade.api.API
 
createStopLossOrder(double) - Static method in class com.oanda.fxtrade.api.API
Creates new instance of StopLossOrder class
createTakeProfitOrder(double) - Static method in class com.oanda.fxtrade.api.API
Creates new instance of TakeProfitOrder class
CURRENCY - Static variable in interface com.oanda.fxtrade.api.Instrument
 

D

deleteObserver(Observer) - Method in interface com.oanda.fxtrade.api.FXClient
 
DISCONNECTED - Static variable in interface com.oanda.fxtrade.api.FXClient
Used when notifying Observers of a disconnection to the server

E

EntryOrder - Interface in com.oanda.fxtrade.api
EntryOrder is an abstract base class extending class Order to include expiry and desired execution price information.
equals(Object) - Method in interface com.oanda.fxtrade.api.FXAccountEventInfo
Checks if this object is equal to another object.
equals(Object) - Method in class com.oanda.fxtrade.api.FXEventKey
Overloaded Object.equals method
equals(Object) - Method in interface com.oanda.fxtrade.api.FXPair
Compares this FXPair to another pair.
equals(Object) - Method in interface com.oanda.fxtrade.api.FXRateEventInfo
Test to see if this object is equal to another object.
equals(Object) - Method in interface com.oanda.fxtrade.api.FXTick
Compares two FXTick objects.
equals(Object) - Method in interface com.oanda.fxtrade.api.Transaction
 
ExceedsMaxExposureException - Exception in com.oanda.fxtrade.api
 
ExceedsMaxExposureException() - Constructor for exception com.oanda.fxtrade.api.ExceedsMaxExposureException
 
ExceedsMaxExposureException(String) - Constructor for exception com.oanda.fxtrade.api.ExceedsMaxExposureException
 
execute(LimitOrder) - Method in interface com.oanda.fxtrade.api.Account
Executes the specified LimitOrder.
execute(MarketOrder) - Method in interface com.oanda.fxtrade.api.Account
Executes the specified MarketOrder.

F

FATAL_ERROR - Static variable in interface com.oanda.fxtrade.api.FXClient
Used when notifying Observers of fatal errors
FIFOException - Exception in com.oanda.fxtrade.api
FIFOException is throw when a trade cannot be close because it violate the FIFO Rule
FIFOException() - Constructor for exception com.oanda.fxtrade.api.FIFOException
FIFOException constructor
FIFOException(String) - Constructor for exception com.oanda.fxtrade.api.FIFOException
FIFOException constructor
format(LogRecord) - Method in class com.oanda.fxtrade.api.Trace.LogFormatter
 
FX_CSBALACECORRECTION - Static variable in interface com.oanda.fxtrade.api.Transaction
 
FX_CSCLOSEWITHOUTPENALTY - Static variable in interface com.oanda.fxtrade.api.Transaction
 
FX_CSINTERESTCORRECTION - Static variable in interface com.oanda.fxtrade.api.Transaction
 
FX_CSINTERESTTODAYCORRECTION - Static variable in interface com.oanda.fxtrade.api.Transaction
 
FX_CSPLCORRECTION - Static variable in interface com.oanda.fxtrade.api.Transaction
 
FX_CSTRADECANCEL - Static variable in interface com.oanda.fxtrade.api.Transaction
 
FX_CSTRADECORRECTION - Static variable in interface com.oanda.fxtrade.api.Transaction
 
FX_DELFUNDS - Static variable in interface com.oanda.fxtrade.api.Transaction
 
FX_DURATION - Static variable in interface com.oanda.fxtrade.api.Transaction
 
FX_INTDEFERRED - Static variable in interface com.oanda.fxtrade.api.Transaction
 
FX_INTEREST - Static variable in interface com.oanda.fxtrade.api.Transaction
 
FX_MARGIN - Static variable in interface com.oanda.fxtrade.api.Transaction
 
FX_NSF - Static variable in interface com.oanda.fxtrade.api.Transaction
 
FX_ORDERCANCELBOUNDSVIOLATION - Static variable in interface com.oanda.fxtrade.api.Transaction
 
FX_ROLLOVER - Static variable in interface com.oanda.fxtrade.api.Transaction
 
FX_SL - Static variable in interface com.oanda.fxtrade.api.Transaction
 
FX_TP - Static variable in interface com.oanda.fxtrade.api.Transaction
 
FX_USER - Static variable in interface com.oanda.fxtrade.api.Transaction
 
FX_XFR_ORDER - Static variable in interface com.oanda.fxtrade.api.Transaction
 
FXAccountEvent - Class in com.oanda.fxtrade.api
The FXAccountEvent class is the abstract superclass of all events which will be fired in response to a new transaction done on an account.
FXAccountEvent() - Constructor for class com.oanda.fxtrade.api.FXAccountEvent
Default constructor.
FXAccountEvent(String) - Constructor for class com.oanda.fxtrade.api.FXAccountEvent
Constructor to set the key.
FXAccountEvent(boolean) - Constructor for class com.oanda.fxtrade.api.FXAccountEvent
Constructor to set the transient flag.
FXAccountEvent(String, boolean) - Constructor for class com.oanda.fxtrade.api.FXAccountEvent
Constructor to set the key and transient flag.
FXAccountEventInfo - Interface in com.oanda.fxtrade.api
An FXAccountEventInfo object encapsulates a new transaction received from the FXServer.
FXClient - Interface in com.oanda.fxtrade.api
An FXClient object facilitates communication with OANDA's servers.
FXClient.FXNotify - Enum in com.oanda.fxtrade.api
 
FXEvent - Class in com.oanda.fxtrade.api
FXEvent is the abstract superclass of all events.
FXEvent() - Constructor for class com.oanda.fxtrade.api.FXEvent
Default constructor.
FXEvent(boolean) - Constructor for class com.oanda.fxtrade.api.FXEvent
Optional constructor to specify the transient flag.
FXEventInfo - Interface in com.oanda.fxtrade.api
Interface for data passed to an FXEvent
FXEventKey - Class in com.oanda.fxtrade.api
FXEventKey is an internal class used to match FXEvents to FXEventInfos in a general fashion
FXEventKey(Transaction) - Constructor for class com.oanda.fxtrade.api.FXEventKey
Construct an FXEventKey corresponding to a Transaction
FXEventKey(FXPair) - Constructor for class com.oanda.fxtrade.api.FXEventKey
Construct an FXEventKey corresponding to an FXPair
FXEventManager - Interface in com.oanda.fxtrade.api
The FXEventManager class keeps track of a set of FXEvents of a particular type, handling their registration, notification, and unregistration.
FXHistoryPoint - Interface in com.oanda.fxtrade.api
A useful container class that holds FXTick objects representing the opening, closing, minimum and maximum bid and ask prices.
FXPair - Interface in com.oanda.fxtrade.api
FXPair object represents a pair of ISO currency symbols.
FXPairException - Exception in com.oanda.fxtrade.api
FXPairException is throw when using/creating an invalid currency pair
FXPairException() - Constructor for exception com.oanda.fxtrade.api.FXPairException
FXPairException constructor
FXPairException(String) - Constructor for exception com.oanda.fxtrade.api.FXPairException
FXPairException constructor
FXRateEvent - Class in com.oanda.fxtrade.api
The FXRateEvent class is the abstract superclass of all events which will be fired in response to a change in current market rates.
FXRateEvent() - Constructor for class com.oanda.fxtrade.api.FXRateEvent
Default constructor.
FXRateEvent(String) - Constructor for class com.oanda.fxtrade.api.FXRateEvent
Constructor to set the key.
FXRateEvent(boolean) - Constructor for class com.oanda.fxtrade.api.FXRateEvent
Constructor to set the transient flag.
FXRateEvent(String, boolean) - Constructor for class com.oanda.fxtrade.api.FXRateEvent
Constructor to set the key and transient flag.
FXRateEventInfo - Interface in com.oanda.fxtrade.api
An FXRateEventInfo object encapsulates a new market rate received from the server.
FXTick - Interface in com.oanda.fxtrade.api
An FXTick object represents a single forex spot price.

G

get(String) - Method in interface com.oanda.fxtrade.api.RateTable
Deprecated. use getInstrument instead
getAccountId() - Method in interface com.oanda.fxtrade.api.Account
Returns the unique id number associated with this account.
getAccountIdBuy() - Method in interface com.oanda.fxtrade.api.Transfer
Returns the account Id of the buy account.
getAccountIdSell() - Method in interface com.oanda.fxtrade.api.Transfer
Returns the account Id of the sell account.
getAccountName() - Method in interface com.oanda.fxtrade.api.Account
Returns the account name.
getAccounts() - Method in interface com.oanda.fxtrade.api.User
Returns a Vector of Accounts owned by this user
getAccountWithId(int) - Method in interface com.oanda.fxtrade.api.User
Returns the Account owned by this user with the given account id.
getAddress() - Method in interface com.oanda.fxtrade.api.User
Returns the users address.
getAllSymbols() - Method in interface com.oanda.fxtrade.api.RateTable
Deprecated. Use getAllSymbols(homeCurrency) instead
getAllSymbols(String) - Method in interface com.oanda.fxtrade.api.RateTable
Retrieves all pairs both tradeable and non-tradable with respect to a home currency.
getAmount() - Method in interface com.oanda.fxtrade.api.Transaction
Returns the transaction amount in terms of home currency
getAmountBuy() - Method in interface com.oanda.fxtrade.api.Transfer
Returns the amount to buy.
getAmountSell() - Method in interface com.oanda.fxtrade.api.Transfer
Returns the amount to sell.
getAsk() - Method in interface com.oanda.fxtrade.api.FXTick
Returns the ask price.
getAsk() - Method in interface com.oanda.fxtrade.api.Instrument
Get current ask rate
getBalance() - Method in interface com.oanda.fxtrade.api.Account
Returns the most up-to-date account balance, querying the server if neccessary.
getBalance() - Method in interface com.oanda.fxtrade.api.Transaction
Returns the account balance at the time of the transaction
getBase() - Method in interface com.oanda.fxtrade.api.FXPair
Returns the base currency.
getBid() - Method in interface com.oanda.fxtrade.api.FXTick
Returns the bid price.
getBid() - Method in interface com.oanda.fxtrade.api.Instrument
Get current bid rate
getBrowser() - Method in interface com.oanda.fxtrade.api.SessionInfo
 
getCandlePoint() - Method in interface com.oanda.fxtrade.api.FXHistoryPoint
Returns the associated CandlePoint for this FXHistoryPoint.
getCandles(FXPair, long, int) - Method in interface com.oanda.fxtrade.api.RateTable
Obtain the current history (in terms of CandlePoints) of a given currency pair at a given millisecond interval of a particular length (numberOfCandles).
getCandles(FXPair, long, int, long, long) - Method in interface com.oanda.fxtrade.api.RateTable
Obtain the current history (in terms of CandlePoints) of a given currency pair at a given millisecond interval of a particular length (numberOfCandles).
getCategory() - Method in interface com.oanda.fxtrade.api.Instrument
Retrieves instrument category
getCity() - Method in interface com.oanda.fxtrade.api.User
Returns this users city.
getClientType() - Method in interface com.oanda.fxtrade.api.SessionInfo
 
getClientVersion() - Method in interface com.oanda.fxtrade.api.SessionInfo
 
getClose() - Method in interface com.oanda.fxtrade.api.CandlePoint
 
getClose() - Method in interface com.oanda.fxtrade.api.FXHistoryPoint
Returns the FXTick containing the closing bid and ask price for this FXHistoryPoint.
getClose() - Method in interface com.oanda.fxtrade.api.MarketOrder
 
getClosingRate(boolean) - Method in interface com.oanda.fxtrade.api.Instrument
Give the closing rate based on trade type
getCompletionCode() - Method in interface com.oanda.fxtrade.api.Transaction
Returns the completion code.
getConnectionType() - Method in interface com.oanda.fxtrade.api.SessionInfo
 
getCorrected() - Method in interface com.oanda.fxtrade.api.FXHistoryPoint
A flag to indicate whether the FXHistoryPoint has been corrected in the vector context that it is part of.
getCountry() - Method in interface com.oanda.fxtrade.api.User
Returns this users country.
getCreateDate() - Method in interface com.oanda.fxtrade.api.Account
Returns the creation date for this account expressed as a unix timestamp.
getCreateDate() - Method in interface com.oanda.fxtrade.api.User
Deprecated. legacy method. always returns zero
getCurrentPrice() - Method in exception com.oanda.fxtrade.api.InvalidLimitsException
 
getCurrentTick() - Method in interface com.oanda.fxtrade.api.Instrument
Get the latest tick for this instrument
getCurrentValue() - Method in interface com.oanda.fxtrade.api.TrailingStop
The current value is the distance between the trigger price and market price.
getCurrentValueTime() - Method in interface com.oanda.fxtrade.api.TrailingStop
 
getDebug() - Method in class com.oanda.fxtrade.api.Trace
 
getDebugError() - Method in class com.oanda.fxtrade.api.Trace
 
getDebugNetwork() - Method in class com.oanda.fxtrade.api.Trace
 
getDebugNetworkFull() - Method in class com.oanda.fxtrade.api.Trace
 
getDeviceId() - Method in interface com.oanda.fxtrade.api.SessionInfo
 
getDeviceType() - Method in interface com.oanda.fxtrade.api.SessionInfo
 
getDiaspora() - Method in interface com.oanda.fxtrade.api.Transaction
 
getEmail() - Method in interface com.oanda.fxtrade.api.User
Returns this users email address.
getEnteredMarginCallTime() - Method in interface com.oanda.fxtrade.api.Account
Returns the time margin call was entered.
getEventManager() - Method in interface com.oanda.fxtrade.api.Account
Gets the eventManager for this Account
getEventManager() - Method in interface com.oanda.fxtrade.api.RateTable
Get the event manager for this RateTable
getEvents() - Method in interface com.oanda.fxtrade.api.FXEventManager
Gets the list of events currently registered to this FXEventManager
getExpiry() - Method in interface com.oanda.fxtrade.api.EntryOrder
Returns this order's expiry date expressed as a unix timestamp.
getFXServerTime() - Method in interface com.oanda.fxtrade.api.FXClient
Deprecated.  
getGeolocation() - Method in interface com.oanda.fxtrade.api.SessionInfo
 
getGraphicsCard() - Method in interface com.oanda.fxtrade.api.SessionInfo
 
getHighPriceLimit() - Method in interface com.oanda.fxtrade.api.Order
Returns the high price limit.
getHistory(FXPair, long, int) - Method in interface com.oanda.fxtrade.api.FXClient
Deprecated. Use getHistory from the RateTable instead
getHistory(FXPair, long, int) - Method in interface com.oanda.fxtrade.api.RateTable
Obtain the current history (in terms of FXHistoryPoints) of a given currency pair at a given millisecond interval of a particular length (numberOfPoints).
getHistory(FXPair, long, int, CacheMode) - Method in interface com.oanda.fxtrade.api.RateTable
Obtain the current history (in terms of FXHistoryPoints) of a given currency pair at a given millisecond interval of a particular length (numberOfPoints).
getHistory(FXPair, long, int, long, long, CacheMode) - Method in interface com.oanda.fxtrade.api.RateTable
Obtain the current history (in terms of FXHistoryPoints) of a given currency pair at a given millisecond interval of a particular length (numberOfPoints).
getHomeCurrency() - Method in interface com.oanda.fxtrade.api.Account
Returns the home currency for this account.
getInstance() - Static method in class com.oanda.fxtrade.api.Trace
 
getInstrument(String) - Method in interface com.oanda.fxtrade.api.RateTable
Retrieves instrument object for given symbol
getInterest() - Method in interface com.oanda.fxtrade.api.Transaction
Returns the interest paid or earned.
getInverse() - Method in interface com.oanda.fxtrade.api.FXPair
Returns a new FXPair object with the base and quote currency reversed.
getInverse() - Method in interface com.oanda.fxtrade.api.FXTick
Return a new FXTick which is the inverse of this FXTick.
getJvm() - Method in interface com.oanda.fxtrade.api.SessionInfo
 
getKey() - Method in class com.oanda.fxtrade.api.FXAccountEvent
Accessor method used by the API.
getKey() - Method in interface com.oanda.fxtrade.api.FXAccountEventInfo
Accessor method used by the API
getKey() - Method in class com.oanda.fxtrade.api.FXEvent
Gets the key for this event.
getKey() - Method in interface com.oanda.fxtrade.api.FXEventInfo
Gets the event key for this event info.
getKey() - Method in class com.oanda.fxtrade.api.FXRateEvent
Accessor method used by the API.
getKey() - Method in interface com.oanda.fxtrade.api.FXRateEventInfo
Accessor method used by the API
getLocale() - Method in interface com.oanda.fxtrade.api.SessionInfo
 
getLowPriceLimit() - Method in interface com.oanda.fxtrade.api.Order
Returns the low price limit.
getMargin() - Method in interface com.oanda.fxtrade.api.Transaction
Returns the margin used by this transaction.
getMarginAvailable() - Method in interface com.oanda.fxtrade.api.Account
Returns the most up-to-date margin available value, querying the server if neccessary.
getMarginCallRate() - Method in interface com.oanda.fxtrade.api.Account
Returns the margin call rate.
getMarginRate() - Method in interface com.oanda.fxtrade.api.Account
Returns the margin rate.
getMarginUsed() - Method in interface com.oanda.fxtrade.api.Account
Returns the most up-to-date margin used value, querying the server if neccessary.
getMax() - Method in interface com.oanda.fxtrade.api.CandlePoint
 
getMax() - Method in interface com.oanda.fxtrade.api.FXHistoryPoint
Returns the FXTick containing the maximum bid and ask price for this FXHistoryPoint.
getMax() - Method in interface com.oanda.fxtrade.api.MinMaxPoint
Return the maximum ask price for the interval
getMaxMargin() - Method in interface com.oanda.fxtrade.api.Instrument
Deprecated. 
getMaxTradeSize() - Method in interface com.oanda.fxtrade.api.Instrument
Get max trade size
getMaxTrailingStop() - Method in interface com.oanda.fxtrade.api.Instrument
Get largest allowable trailing stop
getMaxUnits() - Method in interface com.oanda.fxtrade.api.FXTick
Returns the maximum amount of units this tick applies for.
getMean() - Method in interface com.oanda.fxtrade.api.FXTick
 
getMean() - Method in interface com.oanda.fxtrade.api.Instrument
Get current mean rate
getMin() - Method in interface com.oanda.fxtrade.api.CandlePoint
 
getMin() - Method in interface com.oanda.fxtrade.api.FXHistoryPoint
Returns the FXTick containing the minimum bid and ask price for this FXHistoryPoint.
getMin() - Method in interface com.oanda.fxtrade.api.MinMaxPoint
Return the minimum bid price for the interval
getMinMaxPoint() - Method in interface com.oanda.fxtrade.api.FXHistoryPoint
Returns the associated MinMaxPoint for this FXHistoryPoint.
getMinMaxs(FXPair, long, int) - Method in interface com.oanda.fxtrade.api.RateTable
Obtain the current history (in terms of MinMaxPoints) of a given currency pair at a given millisecond interval of a particular length (numberOfPoints).
getMinMaxs(FXPair, long, int, long, long) - Method in interface com.oanda.fxtrade.api.RateTable
Obtain the current history (in terms of MinMaxPoints) of a given currency pair at a given millisecond interval of a particular length (numberOfPoints).
getMinTrailingStop() - Method in interface com.oanda.fxtrade.api.Instrument
Get smallest allowable trailing stop
getMinVersion() - Method in exception com.oanda.fxtrade.api.MinVersionException
 
getName() - Method in interface com.oanda.fxtrade.api.User
Returns this users full name.
getOpc() - Method in interface com.oanda.fxtrade.api.SessionInfo
 
getOpen() - Method in interface com.oanda.fxtrade.api.CandlePoint
 
getOpen() - Method in interface com.oanda.fxtrade.api.FXHistoryPoint
Returns the FXTick containing the opening bid and ask price for this FXHistoryPoint.
getOpeningRate(boolean) - Method in interface com.oanda.fxtrade.api.Instrument
Give the opening rate based on trade type
getOperatingSystem() - Method in interface com.oanda.fxtrade.api.SessionInfo
 
getOrderLink() - Method in interface com.oanda.fxtrade.api.Transaction
Returns the transaction number of the limit order that resulted in this transaction (i.e the MarketOrder).
getOrders() - Method in interface com.oanda.fxtrade.api.Account
Returns the Vector of LimitOrders held by this account, querying the server if neccessary.
getOrderWithId(long) - Method in interface com.oanda.fxtrade.api.Account
Returns the LimitOrder with the given transaction number.
getPair() - Method in interface com.oanda.fxtrade.api.FXPair
Returns the currency pair as a String.
getPair() - Method in interface com.oanda.fxtrade.api.FXRateEventInfo
Get the currency pair whose rate has changed
getPair() - Method in interface com.oanda.fxtrade.api.FXTick
 
getPair() - Method in interface com.oanda.fxtrade.api.Order
Returns the FXPair.
getPair() - Method in interface com.oanda.fxtrade.api.Position
Gets the pair of this position's open market orders.
getPair() - Method in interface com.oanda.fxtrade.api.TrailingStop
 
getPair() - Method in interface com.oanda.fxtrade.api.Transaction
Returns the currency pair
getPair() - Method in interface com.oanda.fxtrade.api.Transfer
Returns the currency pair (FXPair) for this transfer.
getPairs() - Method in interface com.oanda.fxtrade.api.RateTable
Deprecated. Use getAllSymbols(homeCurrency) instead
getPassword() - Method in interface com.oanda.fxtrade.api.User
Returns the login password for this user.
getPIP() - Method in interface com.oanda.fxtrade.api.Instrument
Get value of one pip
getPipettes() - Method in interface com.oanda.fxtrade.api.Instrument
Get the number of pippettes
getPL() - Method in interface com.oanda.fxtrade.api.Transaction
Returns the P&L of the transaction.
getPosition(FXPair) - Method in interface com.oanda.fxtrade.api.Account
Get the currently open market position for a given pair
getPositions() - Method in interface com.oanda.fxtrade.api.Account
Get all the currently open market positions
getPositionValue() - Method in interface com.oanda.fxtrade.api.Account
Returns the most up-to-date values of all trades held by this account based in home currency, querying the server if neccessary.
getPostalCode() - Method in interface com.oanda.fxtrade.api.User
Returns this users postal code.
getPrecision() - Method in interface com.oanda.fxtrade.api.Instrument
Get instrument precision
getPrice() - Method in interface com.oanda.fxtrade.api.Order
Returns the order price.
getPrice() - Method in interface com.oanda.fxtrade.api.Position
Gets the average price of open market orders, weighted by size.
getPrice() - Method in interface com.oanda.fxtrade.api.Transaction
Returns the execution price for this transaction
getPrice() - Method in interface com.oanda.fxtrade.api.Transfer
Returns the price of this transfer.
getProfile() - Method in interface com.oanda.fxtrade.api.Account
Returns the profile string for this account
getProfile() - Method in interface com.oanda.fxtrade.api.User
Returns the profile string for this user.
getProxyPort() - Method in interface com.oanda.fxtrade.api.ServerInfo
 
getProxyReleaseVersion() - Static method in class com.oanda.fxtrade.api.Configuration
 
getQuote() - Method in interface com.oanda.fxtrade.api.FXPair
Returns the quote currency.
getRate(FXPair) - Method in interface com.oanda.fxtrade.api.RateTable
Returns the most recent FXTick for the given FXPair without ladder markup.
getRateForUnits(FXPair, long) - Method in interface com.oanda.fxtrade.api.RateTable
Returns the most recent FXTick for the given FXPair in the correct rung.
getRateHostname() - Method in interface com.oanda.fxtrade.api.ServerInfo
 
getRatePort() - Method in interface com.oanda.fxtrade.api.ServerInfo
 
getRatesForAllUnits(FXPair) - Method in interface com.oanda.fxtrade.api.RateTable
Returns the most recent FXTick for the given FXPair in all ladders.
getRateTable() - Method in interface com.oanda.fxtrade.api.FXClient
Returns the RateTable object
getRealizedPL() - Method in interface com.oanda.fxtrade.api.Account
Returns the most up-to-date realized profit/loss value, querying the server if neccessary.
getRealizedPL() - Method in interface com.oanda.fxtrade.api.MarketOrder
Returns the profit realized on this trade.
getRequestedPrice() - Method in exception com.oanda.fxtrade.api.InvalidLimitsException
 
getScreenSize() - Method in interface com.oanda.fxtrade.api.SessionInfo
 
getServerHostname() - Method in interface com.oanda.fxtrade.api.ServerInfo
 
getServerPort() - Method in interface com.oanda.fxtrade.api.ServerInfo
 
getServerTime() - Method in interface com.oanda.fxtrade.api.FXClient
Returns the current time held by the OANDA server expressed as a unix timestamp.
getSessionKey() - Method in interface com.oanda.fxtrade.api.FXClient
Returns the current session key.
getStatus() - Method in interface com.oanda.fxtrade.api.Instrument
Gets status of instrument.
getStopLoss() - Method in interface com.oanda.fxtrade.api.Order
Returns the StopLossOrder associated with this Order.
getStopLoss() - Method in interface com.oanda.fxtrade.api.Transaction
Returns the stop loss value associated with this transaction.
getSymbol() - Method in interface com.oanda.fxtrade.api.Instrument
Get the symbol for this instrument
getTakeProfit() - Method in interface com.oanda.fxtrade.api.Order
Returns the TakeProfitOrder associated with this Order.
getTakeProfit() - Method in interface com.oanda.fxtrade.api.Transaction
Returns the take profit value associated with this transaction.
getTelephone() - Method in interface com.oanda.fxtrade.api.User
Returns this users telephone number.
getThsHostname() - Method in interface com.oanda.fxtrade.api.ServerInfo
 
getThsPort() - Method in interface com.oanda.fxtrade.api.ServerInfo
 
getThsProxyPort() - Method in interface com.oanda.fxtrade.api.ServerInfo
 
getTick() - Method in interface com.oanda.fxtrade.api.FXRateEventInfo
Gets the new rate of the pair whose rate has changed
getTicketNumber() - Method in interface com.oanda.fxtrade.api.TrailingStop
 
getTimestamp() - Method in interface com.oanda.fxtrade.api.CandlePoint
 
getTimestamp() - Method in interface com.oanda.fxtrade.api.FXAccountEventInfo
Gets the server timestamp that the data in the event info was generated
getTimestamp() - Method in interface com.oanda.fxtrade.api.FXEventInfo
Gets the server timestamp that the data in the event info was generated
getTimestamp() - Method in interface com.oanda.fxtrade.api.FXHistoryPoint
Returns the opening timestamp for this FXHistoryPoint.
getTimestamp() - Method in interface com.oanda.fxtrade.api.FXRateEventInfo
Gets the server timestamp that the data in the event info was generated
getTimestamp() - Method in interface com.oanda.fxtrade.api.FXTick
Returns the unix timestamp for this FXTick.
getTimestamp() - Method in interface com.oanda.fxtrade.api.MinMaxPoint
Return the server timestamp for this MinMaxPoint (time in seconds after the beginning of the epoch).
getTimestamp() - Method in interface com.oanda.fxtrade.api.Order
Returns the timestamp for this order.
getTimestamp() - Method in interface com.oanda.fxtrade.api.Transaction
Return the unix timestamp for when this transaction occured
getTimestamp() - Method in interface com.oanda.fxtrade.api.Transfer
Returns the timestamp for this transfer.
getTrades() - Method in interface com.oanda.fxtrade.api.Account
Returns the Vector of MarketOrders currently held by this account, querying the server if neccessary.
getTradeWithId(long) - Method in interface com.oanda.fxtrade.api.Account
Returns the MarketOrder with the given transaction number.
getTrailingAmount() - Method in interface com.oanda.fxtrade.api.TrailingStop
 
getTrailingAmountAsPrice() - Method in interface com.oanda.fxtrade.api.TrailingStop
 
getTrailingStop(MarketOrder) - Method in interface com.oanda.fxtrade.api.Account
Returns the trailing stop for the given trade.
getTrailingStopLoss() - Method in interface com.oanda.fxtrade.api.Order
 
getTrailingStopLoss() - Method in interface com.oanda.fxtrade.api.Transaction
Returns the trailing stop value in PIPs
getTransaction() - Method in interface com.oanda.fxtrade.api.FXAccountEventInfo
Gets the transaction whose occurrence created this FXEventInfo
getTransactionLink() - Method in interface com.oanda.fxtrade.api.MarketOrder
Returns the transaction number of any trade or order that is related to this trade.
getTransactionLink() - Method in interface com.oanda.fxtrade.api.Transaction
Returns the transaction number of the transaction that is related to this transaction.
getTransactionNumber() - Method in interface com.oanda.fxtrade.api.Order
Returns the OANDA transaction number
getTransactionNumber() - Method in interface com.oanda.fxtrade.api.Transaction
Returns the transaction number.
getTransactionNumber() - Method in interface com.oanda.fxtrade.api.Transfer
Returns the OANDA transaction number
getTransactions() - Method in interface com.oanda.fxtrade.api.Account
Returns a Vector of Transactions that have recently occured on this account, querying the server if neccessary.
getTransactionWithId(long) - Method in interface com.oanda.fxtrade.api.Account
Returns the Transaction with the given transaction number.
getType() - Method in interface com.oanda.fxtrade.api.Transaction
Returns the transaction type.
getType() - Method in interface com.oanda.fxtrade.api.Transfer
Returns the transfer type (either BuyMarket or SellMarket)
getUnits() - Method in interface com.oanda.fxtrade.api.Order
Returns the units field
getUnits() - Method in interface com.oanda.fxtrade.api.Position
Gets the number of units in all open market orders
getUnits() - Method in interface com.oanda.fxtrade.api.Transaction
Returns the number of units.
getUnrealizedPL() - Method in interface com.oanda.fxtrade.api.Account
Returns the most up-to-date unrealized profit/loss value, querying the server if neccessary.
getUnrealizedPL(FXTick) - Method in interface com.oanda.fxtrade.api.MarketOrder
Returns the unrealized profit/loss held by this order based on the provided market rate.
getUnrealizedPL(FXTick) - Method in interface com.oanda.fxtrade.api.Position
Calculate the current profit of this position, based on the number of units and average price
getUser() - Method in interface com.oanda.fxtrade.api.FXClient
Returns the User object currently connected to the OANDA server
getUserId() - Method in interface com.oanda.fxtrade.api.User
Returns this users unique id number.
getUserName() - Method in interface com.oanda.fxtrade.api.User
Returns the login username for this user.
getVolume() - Method in interface com.oanda.fxtrade.api.CandlePoint
 
getVolume() - Method in interface com.oanda.fxtrade.api.FXHistoryPoint
Returns the volume for this FXHistoryPoint.
getWithKeepAliveThread() - Method in interface com.oanda.fxtrade.api.FXClient
Deprecated.  
getWithRateThread() - Method in interface com.oanda.fxtrade.api.FXClient
Deprecated.  

H

handle(FXEventInfo, FXEventManager) - Method in class com.oanda.fxtrade.api.FXAccountEvent
The handle method is called once for each FXEventInfo which results in the match method returning true.
handle(FXEventInfo, FXEventManager) - Method in class com.oanda.fxtrade.api.FXEvent
The handle method is called once for each FXEventInfo which results in the match method returning true.
handle(FXEventInfo, FXEventManager) - Method in class com.oanda.fxtrade.api.FXRateEvent
The handle method is called once for each FXEventInfo which results in the match method returning true.
hashCode() - Method in class com.oanda.fxtrade.api.FXEventKey
Return the hashcode of the event key
hashCode() - Method in interface com.oanda.fxtrade.api.FXPair
Return the hashcode of this pair
hashcode() - Method in interface com.oanda.fxtrade.api.FXRateEventInfo
Return the hashcode
hashCode() - Method in interface com.oanda.fxtrade.api.FXTick
Return the hashcode of this pair

I

INDEX - Static variable in interface com.oanda.fxtrade.api.Instrument
 
initDefaultLogging() - Static method in class com.oanda.fxtrade.api.Trace
 
Instrument - Interface in com.oanda.fxtrade.api
 
InsufficientLiquidityException - Exception in com.oanda.fxtrade.api
 
InsufficientLiquidityException() - Constructor for exception com.oanda.fxtrade.api.InsufficientLiquidityException
 
InsufficientLiquidityException(String) - Constructor for exception com.oanda.fxtrade.api.InsufficientLiquidityException
 
InterruptedOAException - Exception in com.oanda.fxtrade.api
 
InterruptedOAException() - Constructor for exception com.oanda.fxtrade.api.InterruptedOAException
 
InterruptedOAException(String, Throwable) - Constructor for exception com.oanda.fxtrade.api.InterruptedOAException
 
InterruptedOAException(String) - Constructor for exception com.oanda.fxtrade.api.InterruptedOAException
 
InterruptedOAException(Throwable) - Constructor for exception com.oanda.fxtrade.api.InterruptedOAException
 
INTERVAL_10_SEC - Static variable in interface com.oanda.fxtrade.api.FXClient
 
INTERVAL_15_MIN - Static variable in interface com.oanda.fxtrade.api.FXClient
 
INTERVAL_1_DAY - Static variable in interface com.oanda.fxtrade.api.FXClient
 
INTERVAL_1_HOUR - Static variable in interface com.oanda.fxtrade.api.FXClient
 
INTERVAL_1_MIN - Static variable in interface com.oanda.fxtrade.api.FXClient
 
INTERVAL_30_MIN - Static variable in interface com.oanda.fxtrade.api.FXClient
 
INTERVAL_30_SEC - Static variable in interface com.oanda.fxtrade.api.FXClient
 
INTERVAL_3_HOUR - Static variable in interface com.oanda.fxtrade.api.FXClient
 
INTERVAL_5_MIN - Static variable in interface com.oanda.fxtrade.api.FXClient
 
INTERVAL_5_SEC - Static variable in interface com.oanda.fxtrade.api.FXClient
The INTERVAL_ constants are useful when calling getHistory()
InvalidExpiryException - Exception in com.oanda.fxtrade.api
InvalidDurationException is throw by setting an invalid entry order duration.
InvalidExpiryException() - Constructor for exception com.oanda.fxtrade.api.InvalidExpiryException
 
InvalidExpiryException(String) - Constructor for exception com.oanda.fxtrade.api.InvalidExpiryException
 
InvalidLimitsException - Exception in com.oanda.fxtrade.api
 
InvalidLimitsException() - Constructor for exception com.oanda.fxtrade.api.InvalidLimitsException
 
InvalidLimitsException(String) - Constructor for exception com.oanda.fxtrade.api.InvalidLimitsException
 
InvalidLimitsException(String, double, double) - Constructor for exception com.oanda.fxtrade.api.InvalidLimitsException
 
InvalidOrderException - Exception in com.oanda.fxtrade.api
InvalidOrderException is thrown if a non-existent order is modified or closed
InvalidOrderException() - Constructor for exception com.oanda.fxtrade.api.InvalidOrderException
 
InvalidOrderException(String) - Constructor for exception com.oanda.fxtrade.api.InvalidOrderException
 
InvalidOTPException - Exception in com.oanda.fxtrade.api
 
InvalidOTPException() - Constructor for exception com.oanda.fxtrade.api.InvalidOTPException
 
InvalidOTPException(String) - Constructor for exception com.oanda.fxtrade.api.InvalidOTPException
 
InvalidOTPException(Exception) - Constructor for exception com.oanda.fxtrade.api.InvalidOTPException
 
InvalidOTPException(String, Exception) - Constructor for exception com.oanda.fxtrade.api.InvalidOTPException
 
InvalidPasswordException - Exception in com.oanda.fxtrade.api
An InvalidPasswordException is thrown if the password provided at login is invalid.
InvalidPasswordException() - Constructor for exception com.oanda.fxtrade.api.InvalidPasswordException
 
InvalidPasswordException(String) - Constructor for exception com.oanda.fxtrade.api.InvalidPasswordException
 
InvalidPrecisionException - Exception in com.oanda.fxtrade.api
 
InvalidPrecisionException() - Constructor for exception com.oanda.fxtrade.api.InvalidPrecisionException
 
InvalidPrecisionException(String) - Constructor for exception com.oanda.fxtrade.api.InvalidPrecisionException
 
InvalidPriceException - Exception in com.oanda.fxtrade.api
InvalidPriceException is throw by setting an invalid execution price.
InvalidPriceException() - Constructor for exception com.oanda.fxtrade.api.InvalidPriceException
 
InvalidPriceException(String) - Constructor for exception com.oanda.fxtrade.api.InvalidPriceException
 
InvalidUnitsException - Exception in com.oanda.fxtrade.api
 
InvalidUnitsException() - Constructor for exception com.oanda.fxtrade.api.InvalidUnitsException
 
InvalidUnitsException(String) - Constructor for exception com.oanda.fxtrade.api.InvalidUnitsException
 
InvalidUserException - Exception in com.oanda.fxtrade.api
An InvalidUserException is thrown if the username provided at login does not exist.
InvalidUserException() - Constructor for exception com.oanda.fxtrade.api.InvalidUserException
 
InvalidUserException(String) - Constructor for exception com.oanda.fxtrade.api.InvalidUserException
 
isBuy() - Method in interface com.oanda.fxtrade.api.TrailingStop
 
isBuy() - Method in interface com.oanda.fxtrade.api.Transaction
Tests if this transaction is a buy
isHalted() - Method in interface com.oanda.fxtrade.api.FXPair
Deprecated.  
isLoggedIn() - Method in interface com.oanda.fxtrade.api.FXClient
Returns true if a connection exists with the server, false otherwise.
isMFAConfigured() - Method in exception com.oanda.fxtrade.api.MultiFactorAuthenticationException
 
isMFAVerified() - Method in exception com.oanda.fxtrade.api.MultiFactorAuthenticationException
 
isSell() - Method in interface com.oanda.fxtrade.api.Transaction
Tests if this transaction is a sell
isTransient() - Method in class com.oanda.fxtrade.api.FXEvent
Querys whether this event is transient (will only have its handle method called once).

L

LimitOrder - Interface in com.oanda.fxtrade.api
A LimitOrder is a spot order that is executed when the target price is met.
loggedIn() - Method in interface com.oanda.fxtrade.api.RateTable
Check whether the session is active.
login(String, String) - Method in interface com.oanda.fxtrade.api.FXClient
Attempts to establish a connection to OANDA's servers.
login(String, String, String) - Method in interface com.oanda.fxtrade.api.FXClient
Attempts to establish a connection to OANDA's servers.
login(String, String, String, String, String) - Method in interface com.oanda.fxtrade.api.FXClient
Attempts to establish a connection to OANDA's servers.
logout() - Method in interface com.oanda.fxtrade.api.FXClient
Disconnects from the server.

M

MaintenanceModeException - Exception in com.oanda.fxtrade.api
 
MaintenanceModeException() - Constructor for exception com.oanda.fxtrade.api.MaintenanceModeException
 
MaintenanceModeException(String) - Constructor for exception com.oanda.fxtrade.api.MaintenanceModeException
 
MaintenanceModeException(String, Exception) - Constructor for exception com.oanda.fxtrade.api.MaintenanceModeException
 
MaintenanceModeException(Exception) - Constructor for exception com.oanda.fxtrade.api.MaintenanceModeException
 
MarginCallStateException - Exception in com.oanda.fxtrade.api
 
MarginCallStateException() - Constructor for exception com.oanda.fxtrade.api.MarginCallStateException
 
MarginCallStateException(String) - Constructor for exception com.oanda.fxtrade.api.MarginCallStateException
 
MarketOrder - Interface in com.oanda.fxtrade.api
A MarketOrder is used to create a spot trade.
MarketTransferOrder - Interface in com.oanda.fxtrade.api
 
match(FXEventInfo) - Method in class com.oanda.fxtrade.api.FXAccountEvent
The match method is used to determine whether the handle method of this event should be called for the given FXEventInfo.
match(FXEventInfo) - Method in class com.oanda.fxtrade.api.FXEvent
The match method is used to determine whether the handle method of this event should be called for the given FXEventInfo.
match(FXEventInfo) - Method in class com.oanda.fxtrade.api.FXRateEvent
The match method is used to determine whether the handle method of this event should be called for the given FXEventInfo.
MaxOpenOrdersException - Exception in com.oanda.fxtrade.api
 
MaxOpenOrdersException() - Constructor for exception com.oanda.fxtrade.api.MaxOpenOrdersException
 
MaxOpenOrdersException(String) - Constructor for exception com.oanda.fxtrade.api.MaxOpenOrdersException
 
MaxOpenTradesException - Exception in com.oanda.fxtrade.api
 
MaxOpenTradesException() - Constructor for exception com.oanda.fxtrade.api.MaxOpenTradesException
 
MaxOpenTradesException(String) - Constructor for exception com.oanda.fxtrade.api.MaxOpenTradesException
 
MFANotConfiguredException - Exception in com.oanda.fxtrade.api
 
MFANotConfiguredException() - Constructor for exception com.oanda.fxtrade.api.MFANotConfiguredException
 
MFANotConfiguredException(String) - Constructor for exception com.oanda.fxtrade.api.MFANotConfiguredException
 
MFAOtpRateCapException - Exception in com.oanda.fxtrade.api
 
MFAOtpRateCapException() - Constructor for exception com.oanda.fxtrade.api.MFAOtpRateCapException
 
MFAOtpRateCapException(String) - Constructor for exception com.oanda.fxtrade.api.MFAOtpRateCapException
 
MFAOtpRateCapException(String, Exception) - Constructor for exception com.oanda.fxtrade.api.MFAOtpRateCapException
 
MFAOtpRateCapException(Exception) - Constructor for exception com.oanda.fxtrade.api.MFAOtpRateCapException
 
MinMaxPoint - Interface in com.oanda.fxtrade.api
MinMaxPoint class is a container for min/max graph information.
MinVersionException - Exception in com.oanda.fxtrade.api
 
MinVersionException(String, String) - Constructor for exception com.oanda.fxtrade.api.MinVersionException
 
modify(LimitOrder) - Method in interface com.oanda.fxtrade.api.Account
Modifies the specified LimitOrder.
modify(MarketOrder) - Method in interface com.oanda.fxtrade.api.Account
Modifies the specified MarketOrder.
MultiFactorAuthenticationException - Exception in com.oanda.fxtrade.api
 
MultiFactorAuthenticationException(boolean, boolean) - Constructor for exception com.oanda.fxtrade.api.MultiFactorAuthenticationException
 
MultiFactorAuthenticationException(Exception) - Constructor for exception com.oanda.fxtrade.api.MultiFactorAuthenticationException
 
MultiFactorAuthenticationException(String, Exception) - Constructor for exception com.oanda.fxtrade.api.MultiFactorAuthenticationException
 

N

NEW_SESSION_TOKEN - Static variable in interface com.oanda.fxtrade.api.FXClient
Used when notifying Observers of new session token
NO_MARGIN_INFO - Static variable in interface com.oanda.fxtrade.api.Instrument
 
NoNewPositionException - Exception in com.oanda.fxtrade.api
 
NoNewPositionException() - Constructor for exception com.oanda.fxtrade.api.NoNewPositionException
 
NoNewPositionException(String) - Constructor for exception com.oanda.fxtrade.api.NoNewPositionException
 
NSFException - Exception in com.oanda.fxtrade.api
NSFException is thrown if an insufficient balance exists to complete an account function
NSFException() - Constructor for exception com.oanda.fxtrade.api.NSFException
 
NSFException(String) - Constructor for exception com.oanda.fxtrade.api.NSFException
 
numDecimals() - Method in interface com.oanda.fxtrade.api.Instrument
get number of decimals
numPipettes() - Method in interface com.oanda.fxtrade.api.Instrument
Get number of pippettes

O

OAException - Exception in com.oanda.fxtrade.api
OAException is the base exception class.
OAException() - Constructor for exception com.oanda.fxtrade.api.OAException
 
OAException(String) - Constructor for exception com.oanda.fxtrade.api.OAException
 
OAException(String, Throwable) - Constructor for exception com.oanda.fxtrade.api.OAException
 
OAException(Throwable) - Constructor for exception com.oanda.fxtrade.api.OAException
 
OARuntimeException - Exception in com.oanda.fxtrade.api
 
OARuntimeException() - Constructor for exception com.oanda.fxtrade.api.OARuntimeException
 
OARuntimeException(String) - Constructor for exception com.oanda.fxtrade.api.OARuntimeException
 
OARuntimeException(Throwable) - Constructor for exception com.oanda.fxtrade.api.OARuntimeException
 
OARuntimeException(String, Throwable) - Constructor for exception com.oanda.fxtrade.api.OARuntimeException
 
Order - Interface in com.oanda.fxtrade.api
Order is an abstract base class encapsulating the basic components of an OANDA forex order.
OrderException - Exception in com.oanda.fxtrade.api
 
OrderException() - Constructor for exception com.oanda.fxtrade.api.OrderException
 
OrderException(String) - Constructor for exception com.oanda.fxtrade.api.OrderException
 

P

Position - Interface in com.oanda.fxtrade.api
A Position represents an aggregation of several open market orders

R

RateHistoryModelException - Exception in com.oanda.fxtrade.api
A RateHistoryModelException is thrown when rate information is not available from the server
RateHistoryModelException() - Constructor for exception com.oanda.fxtrade.api.RateHistoryModelException
 
RateHistoryModelException(String) - Constructor for exception com.oanda.fxtrade.api.RateHistoryModelException
 
RateLimitExceededException - Exception in com.oanda.fxtrade.api
 
RateLimitExceededException() - Constructor for exception com.oanda.fxtrade.api.RateLimitExceededException
 
RateLimitExceededException(String) - Constructor for exception com.oanda.fxtrade.api.RateLimitExceededException
 
RateTable - Interface in com.oanda.fxtrade.api
The RateTable object holds all incoming rate information.
RateTableException - Exception in com.oanda.fxtrade.api
 
RateTableException() - Constructor for exception com.oanda.fxtrade.api.RateTableException
 
RateTableException(String) - Constructor for exception com.oanda.fxtrade.api.RateTableException
 
remove(FXEvent) - Method in interface com.oanda.fxtrade.api.FXEventManager
Remove an FXEvent from this FXEventManager, denying further notifications

S

ServerInfo - Interface in com.oanda.fxtrade.api
 
SESSION_INVALID - Static variable in interface com.oanda.fxtrade.api.FXClient
Used when notifying Observers of invalid/expired session token
SessionDisconnectedException - Exception in com.oanda.fxtrade.api
A SessionDisconnectedException is thrown if the tcp/ssl connection is interrupted.
SessionDisconnectedException() - Constructor for exception com.oanda.fxtrade.api.SessionDisconnectedException
 
SessionDisconnectedException(String) - Constructor for exception com.oanda.fxtrade.api.SessionDisconnectedException
 
SessionDisconnectedException(String, Exception) - Constructor for exception com.oanda.fxtrade.api.SessionDisconnectedException
 
SessionDisconnectedException(Exception) - Constructor for exception com.oanda.fxtrade.api.SessionDisconnectedException
 
SessionErrorException - Exception in com.oanda.fxtrade.api
A SessionErrorException is thrown if an unknown error occurs.
SessionErrorException() - Constructor for exception com.oanda.fxtrade.api.SessionErrorException
 
SessionErrorException(String) - Constructor for exception com.oanda.fxtrade.api.SessionErrorException
 
SessionException - Exception in com.oanda.fxtrade.api
A SessionException is throw by any object in a session context.
SessionException() - Constructor for exception com.oanda.fxtrade.api.SessionException
 
SessionException(String) - Constructor for exception com.oanda.fxtrade.api.SessionException
 
SessionException(String, Exception) - Constructor for exception com.oanda.fxtrade.api.SessionException
 
SessionException(Exception) - Constructor for exception com.oanda.fxtrade.api.SessionException
 
SessionInfo - Interface in com.oanda.fxtrade.api
 
SessionInvalidException - Exception in com.oanda.fxtrade.api
A SessionInvalidException is thrown if open SSO token is invalid or has expired.
SessionInvalidException() - Constructor for exception com.oanda.fxtrade.api.SessionInvalidException
 
SessionInvalidException(String) - Constructor for exception com.oanda.fxtrade.api.SessionInvalidException
 
SessionInvalidException(Exception) - Constructor for exception com.oanda.fxtrade.api.SessionInvalidException
 
SessionInvalidException(String, Exception) - Constructor for exception com.oanda.fxtrade.api.SessionInvalidException
 
SessionTimeoutException - Exception in com.oanda.fxtrade.api
A SessionTimeoutException is thrown if server communication exceeds the timeout threshold.
SessionTimeoutException() - Constructor for exception com.oanda.fxtrade.api.SessionTimeoutException
 
SessionTimeoutException(String) - Constructor for exception com.oanda.fxtrade.api.SessionTimeoutException
 
setAccountIdBuy(int) - Method in interface com.oanda.fxtrade.api.Transfer
Sets the account Id for the buy account.
setAccountIdSell(int) - Method in interface com.oanda.fxtrade.api.Transfer
Sets the account Id for the sell account.
setAmountBuy(double) - Method in interface com.oanda.fxtrade.api.Transfer
Sets the amount to buy.
setAmountSell(double) - Method in interface com.oanda.fxtrade.api.Transfer
Sets the amount to sell.
setAsk(double) - Method in interface com.oanda.fxtrade.api.FXTick
Sets the ask price.
setBase(String) - Method in interface com.oanda.fxtrade.api.FXPair
Sets the base currency.
setBid(double) - Method in interface com.oanda.fxtrade.api.FXTick
Sets the bid price.
setBrowser(String) - Method in interface com.oanda.fxtrade.api.SessionInfo
 
setClientType(String) - Method in interface com.oanda.fxtrade.api.SessionInfo
 
setClientVersion(String) - Method in interface com.oanda.fxtrade.api.SessionInfo
 
setConnectionType(String) - Method in interface com.oanda.fxtrade.api.SessionInfo
 
setCorrected(boolean) - Method in interface com.oanda.fxtrade.api.FXHistoryPoint
Set the corrected flag for this FXHistoryPoint
setDebug(boolean) - Method in class com.oanda.fxtrade.api.Trace
 
setDebugError(boolean) - Method in class com.oanda.fxtrade.api.Trace
 
setDebugNetwork(boolean) - Method in class com.oanda.fxtrade.api.Trace
 
setDebugNetworkFull(boolean) - Method in class com.oanda.fxtrade.api.Trace
 
setDeviceId(String) - Method in interface com.oanda.fxtrade.api.SessionInfo
 
setDeviceType(String) - Method in interface com.oanda.fxtrade.api.SessionInfo
 
setExpiry(long) - Method in interface com.oanda.fxtrade.api.EntryOrder
Sets the expiry date for this order.
setGeolocation(String) - Method in interface com.oanda.fxtrade.api.SessionInfo
 
setGraphicsCard(String) - Method in interface com.oanda.fxtrade.api.SessionInfo
 
setHashCode(String) - Static method in class com.oanda.fxtrade.api.Configuration
Deprecated.  
setHighPriceLimit(double) - Method in interface com.oanda.fxtrade.api.Order
Sets the highest price that this order will trigger at.
setJvm(String) - Method in interface com.oanda.fxtrade.api.SessionInfo
 
setLocale(String) - Method in interface com.oanda.fxtrade.api.SessionInfo
 
setLowPriceLimit(double) - Method in interface com.oanda.fxtrade.api.Order
Sets the lowest price that this order will trigger at.
setMaxUnits(long) - Method in interface com.oanda.fxtrade.api.FXTick
Sets the max units this tick is valid for.
setOpc(String) - Method in interface com.oanda.fxtrade.api.SessionInfo
 
setOperatingSystem(String) - Method in interface com.oanda.fxtrade.api.SessionInfo
 
setPair(String) - Method in interface com.oanda.fxtrade.api.FXPair
Sets the currency pair.
setPair(FXPair) - Method in interface com.oanda.fxtrade.api.Order
Sets the currency pair for this order.
setPair(FXPair) - Method in interface com.oanda.fxtrade.api.Transfer
Sets the currency pair for this transfer
setPrice(double) - Method in interface com.oanda.fxtrade.api.EntryOrder
Sets the desired execution price for this order.
setPrice(double) - Method in interface com.oanda.fxtrade.api.StopLossOrder
Sets the desired execution price for this stop loss.
setProfile(String) - Method in interface com.oanda.fxtrade.api.Account
Sends a profile string to be saved on the server and associated with this account.
setProfile(String) - Method in interface com.oanda.fxtrade.api.User
Sends a profile string to be saved on the server and associated with this user.
setProxy(boolean) - Method in interface com.oanda.fxtrade.api.FXClient
Sets the proxy status for future connections to the server.
setQuote(String) - Method in interface com.oanda.fxtrade.api.FXPair
Sets the quote currency.
setRateTimeout(int) - Method in interface com.oanda.fxtrade.api.FXClient
Set the socket timeout for the rate thread.
setScreenSize(String) - Method in interface com.oanda.fxtrade.api.SessionInfo
 
setStopLoss(StopLossOrder) - Method in interface com.oanda.fxtrade.api.Order
Sets the stop loss for this order
setTakeProfit(TakeProfitOrder) - Method in interface com.oanda.fxtrade.api.Order
Sets the take profit for this order
setTimeout(int) - Method in interface com.oanda.fxtrade.api.FXClient
Sets the timeout for server response in seconds.
setTimestamp(long) - Method in interface com.oanda.fxtrade.api.FXTick
Sets the timestamp.
setTrailingStopLoss(double) - Method in interface com.oanda.fxtrade.api.Order
 
setTransient(boolean) - Method in class com.oanda.fxtrade.api.FXEvent
Set whether this event is transient (will only have its handle method called once).
setType(String) - Method in interface com.oanda.fxtrade.api.Transfer
Sets the type for this transfer.
setUnits(long) - Method in interface com.oanda.fxtrade.api.Order
Sets the units.
setVersion(String) - Static method in class com.oanda.fxtrade.api.Configuration
TODO document this
setWithKeepAliveThread(boolean) - Method in interface com.oanda.fxtrade.api.FXClient
When the keep alive thread flag is set to true, a new thread is created which will periodically send requests to the server in order to keep this connection alive.
setWithRateThread(boolean) - Method in interface com.oanda.fxtrade.api.FXClient
When the rate thread flag is set to true, a new thread is created which will keep receive rates from the server.
setWithTrailingStopMonitor(boolean) - Method in interface com.oanda.fxtrade.api.FXClient
Enabling this feature allows the API to actively track the current value of a trailing stop for your trades.
StopLossOrder - Interface in com.oanda.fxtrade.api
A StopLossOrder will close a MarketOrder when the designated market rate is reached.
STREAM_CONNECTED - Static variable in interface com.oanda.fxtrade.api.FXClient
 
STREAM_DISCONNECTED - Static variable in interface com.oanda.fxtrade.api.FXClient
 

T

TakeProfitOrder - Interface in com.oanda.fxtrade.api
A TakeProfitOrder will close a MarketOrder when the designated market rate is reached.
toString() - Method in interface com.oanda.fxtrade.api.Account
 
toString() - Method in interface com.oanda.fxtrade.api.CandlePoint
 
toString() - Method in enum com.oanda.fxtrade.api.FXClient.FXNotify
 
toString() - Method in class com.oanda.fxtrade.api.FXEventKey
Overloaded Object.toString method
toString() - Method in interface com.oanda.fxtrade.api.FXHistoryPoint
Returns a String representation of this FXHistoryPoint as follows:
timestamp max_bid max_ask open_bid open_ask close_bid close_ask min_bid min_ask volume
toString() - Method in interface com.oanda.fxtrade.api.FXPair
 
toString() - Method in interface com.oanda.fxtrade.api.FXTick
 
toString() - Method in interface com.oanda.fxtrade.api.LimitOrder
 
toString() - Method in interface com.oanda.fxtrade.api.MarketOrder
 
toString() - Method in interface com.oanda.fxtrade.api.MarketTransferOrder
 
toString() - Method in interface com.oanda.fxtrade.api.MinMaxPoint
Convert MinMaxPoint to a string
toString() - Method in interface com.oanda.fxtrade.api.Position
Overridden Object.toString method
toString() - Method in interface com.oanda.fxtrade.api.StopLossOrder
 
toString() - Method in interface com.oanda.fxtrade.api.TakeProfitOrder
 
toString() - Method in interface com.oanda.fxtrade.api.Transaction
 
toString() - Method in interface com.oanda.fxtrade.api.User
 
Trace - Class in com.oanda.fxtrade.api
A simple tool to control debug output
Trace.LogFormatter - Class in com.oanda.fxtrade.api
 
Trace.LogFormatter() - Constructor for class com.oanda.fxtrade.api.Trace.LogFormatter
 
TrailingStop - Interface in com.oanda.fxtrade.api
This interface represents a trailing stop loss (TS) for a MarketOrder (trade)
Transaction - Interface in com.oanda.fxtrade.api
The Transaction object contains all information related to transactions occurring on OANDA's servers.
Transfer - Interface in com.oanda.fxtrade.api
 

U

UPDATE - Static variable in interface com.oanda.fxtrade.api.FXClient
Used when notifying Observers of asynchronous updates
UPDATE_ORDERS - Static variable in interface com.oanda.fxtrade.api.FXClient
Used when notifying Observers of asynchronous updates
UPDATE_TRADES - Static variable in interface com.oanda.fxtrade.api.FXClient
Used when notifying Observers of asynchronous updates
UPDATE_TRANSACTIONS - Static variable in interface com.oanda.fxtrade.api.FXClient
Used when notifying Observers of asynchronous updates
User - Interface in com.oanda.fxtrade.api
Provides access to user information.
UserException - Exception in com.oanda.fxtrade.api
UserException is the base exception thrown by any User object function
UserException() - Constructor for exception com.oanda.fxtrade.api.UserException
 
UserException(String) - Constructor for exception com.oanda.fxtrade.api.UserException
 
UserLockedException - Exception in com.oanda.fxtrade.api
A UserLockedException is thrown if two many login attempts occur.
UserLockedException() - Constructor for exception com.oanda.fxtrade.api.UserLockedException
 
UserLockedException(String) - Constructor for exception com.oanda.fxtrade.api.UserLockedException
 

V

valueOf(String) - Static method in enum com.oanda.fxtrade.api.CacheMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.oanda.fxtrade.api.FXClient.FXNotify
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.oanda.fxtrade.api.CacheMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.oanda.fxtrade.api.FXClient.FXNotify
Returns an array containing the constants of this enum type, in the order they are declared.

A B C D E F G H I L M N O P R S T U V

Copyright © 2005 OANDA Corporation. All Rights Reserved.