Uses of Class
com.oanda.fxtrade.api.AccountException

Uses of AccountException in com.oanda.fxtrade.api
 

Subclasses of AccountException in com.oanda.fxtrade.api
 class AccountBusyException
          AccountBusyException is thrown if a command cannot be executed because the account is busy
 class ExceedsMaxExposureException
           
 class InvalidOrderException
          InvalidOrderException is thrown if a non-existent order is modified or closed
 class MaxOpenOrdersException
           
 class MaxOpenTradesException
           
 class NoNewPositionException
           
 class NSFException
          NSFException is thrown if an insufficient balance exists to complete an account function
 class RateLimitExceededException
           
 

Methods in com.oanda.fxtrade.api that throw AccountException
 Account User.getAccountWithId(int accountId)
          Returns the Account owned by this user with the given account id.
 double Account.getBalance()
          Returns the most up-to-date account balance, querying the server if neccessary.
 FXEventManager Account.getEventManager()
          Gets the eventManager for this Account
 double Account.getMarginAvailable()
          Returns the most up-to-date margin available value, querying the server if neccessary.
 double Account.getMarginUsed()
          Returns the most up-to-date margin used value, querying the server if neccessary.
 java.util.Vector<? extends LimitOrder> Account.getOrders()
          Returns the Vector of LimitOrders held by this account, querying the server if neccessary.
 LimitOrder Account.getOrderWithId(long transactionNumber)
          Returns the LimitOrder with the given transaction number.
 Position Account.getPosition(FXPair pair)
          Get the currently open market position for a given pair
 java.util.Vector<? extends Position> Account.getPositions()
          Get all the currently open market positions
 double Account.getPositionValue()
          Returns the most up-to-date values of all trades held by this account based in home currency, querying the server if neccessary.
 double Account.getRealizedPL()
          Returns the most up-to-date realized profit/loss value, querying the server if neccessary.
 java.util.Vector<? extends MarketOrder> Account.getTrades()
          Returns the Vector of MarketOrders currently held by this account, querying the server if neccessary.
 MarketOrder Account.getTradeWithId(long transactionNumber)
          Returns the MarketOrder with the given transaction number.
 java.util.Vector<? extends Transaction> Account.getTransactions()
          Returns a Vector of Transactions that have recently occured on this account, querying the server if neccessary.
 Transaction Account.getTransactionWithId(long transactionNumber)
          Returns the Transaction with the given transaction number.
 double Account.getUnrealizedPL()
          Returns the most up-to-date unrealized profit/loss value, querying the server if neccessary.
 void Account.setProfile(java.lang.String newprofile)
          Sends a profile string to be saved on the server and associated with this account.
 



Copyright © 2005 OANDA Corporation. All Rights Reserved.