|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of OAException in com.oanda.fxtrade.api |
---|
Subclasses of OAException in com.oanda.fxtrade.api | |
---|---|
class |
AccessDeniedException
|
class |
AccountBusyException
AccountBusyException is thrown if a command cannot be executed because the account is busy |
class |
AccountException
AccountException is the base exception thrown by any Account object function |
class |
ExceedsMaxExposureException
|
class |
InsufficientLiquidityException
|
class |
InterruptedOAException
|
class |
InvalidExpiryException
InvalidDurationException is throw by setting an invalid entry order duration. |
class |
InvalidLimitsException
|
class |
InvalidOrderException
InvalidOrderException is thrown if a non-existent order is modified or closed |
class |
InvalidOTPException
|
class |
InvalidPasswordException
An InvalidPasswordException is thrown if the password provided at login is invalid. |
class |
InvalidPrecisionException
|
class |
InvalidPriceException
InvalidPriceException is throw by setting an invalid execution price. |
class |
InvalidUnitsException
|
class |
InvalidUserException
An InvalidUserException is thrown if the username provided at login does not exist. |
class |
MaintenanceModeException
|
class |
MarginCallStateException
|
class |
MaxOpenOrdersException
|
class |
MaxOpenTradesException
|
class |
MFANotConfiguredException
|
class |
MFAOtpRateCapException
|
class |
MinVersionException
|
class |
MultiFactorAuthenticationException
|
class |
NoNewPositionException
|
class |
NSFException
NSFException is thrown if an insufficient balance exists to complete an account function |
class |
OrderException
|
class |
RateLimitExceededException
|
class |
RateTableException
|
class |
SessionDisconnectedException
A SessionDisconnectedException is thrown if the tcp/ssl connection is interrupted. |
class |
SessionErrorException
A SessionErrorException is thrown if an unknown error occurs. |
class |
SessionException
A SessionException is throw by any object in a session context. |
class |
SessionInvalidException
A SessionInvalidException is thrown if open SSO token is invalid or has expired. |
class |
SessionTimeoutException
A SessionTimeoutException is thrown if server communication exceeds the timeout threshold. |
class |
UserException
UserException is the base exception thrown by any User object function |
class |
UserLockedException
A UserLockedException is thrown if two many login attempts occur. |
Methods in com.oanda.fxtrade.api that throw OAException | |
---|---|
void |
Account.close(LimitOrder lo)
Closes the specified LimitOrder. |
void |
Account.close(MarketOrder mo)
Closes the specified MarketOrder. |
void |
Account.close(java.lang.String position)
|
void |
Account.closeAllLimitOrders()
Closes all limit orders. |
void |
Account.closeAllMarketOrders()
Closes all market orders. |
void |
Account.execute(LimitOrder lo)
Executes the specified LimitOrder. |
void |
Account.execute(MarketOrder mo)
Executes the specified MarketOrder. |
java.util.Vector<? extends CandlePoint> |
RateTable.getCandles(FXPair pair,
long intervalInMillisec,
int numberOfCandles)
Obtain the current history (in terms of CandlePoints) of a given currency pair at a given millisecond interval of a particular length (numberOfCandles). |
java.util.Vector<? extends CandlePoint> |
RateTable.getCandles(FXPair pair,
long intervalInMillisec,
int numberOfCandles,
long startTime,
long endTime)
Obtain the current history (in terms of CandlePoints) of a given currency pair at a given millisecond interval of a particular length (numberOfCandles). |
long |
FXClient.getFXServerTime()
Deprecated. |
java.util.Vector<? extends FXHistoryPoint> |
RateTable.getHistory(FXPair pair,
long intervalInMillisec,
int numberOfPoints)
Obtain the current history (in terms of FXHistoryPoints) of a given currency pair at a given millisecond interval of a particular length (numberOfPoints). |
java.util.Vector<? extends FXHistoryPoint> |
FXClient.getHistory(FXPair pair,
long interval,
int numTicks)
Deprecated. Use getHistory from the RateTable instead |
java.util.Vector<? extends FXHistoryPoint> |
RateTable.getHistory(FXPair pair,
long intervalInMillisec,
int numberOfPoints,
CacheMode cacheMode)
Obtain the current history (in terms of FXHistoryPoints) of a given currency pair at a given millisecond interval of a particular length (numberOfPoints). |
java.util.Vector<? extends FXHistoryPoint> |
RateTable.getHistory(FXPair pair,
long intervalInMillisec,
int numberOfPoints,
long startTime,
long endTime,
CacheMode cacheMode)
Obtain the current history (in terms of FXHistoryPoints) of a given currency pair at a given millisecond interval of a particular length (numberOfPoints). |
java.util.Vector<? extends MinMaxPoint> |
RateTable.getMinMaxs(FXPair pair,
long interval,
int numberOfPoints)
Obtain the current history (in terms of MinMaxPoints) of a given currency pair at a given millisecond interval of a particular length (numberOfPoints). |
java.util.Vector<? extends MinMaxPoint> |
RateTable.getMinMaxs(FXPair pair,
long interval,
int numberOfPoints,
long startTime,
long endTime)
Obtain the current history (in terms of MinMaxPoints) of a given currency pair at a given millisecond interval of a particular length (numberOfPoints). |
void |
Account.modify(LimitOrder lo)
Modifies the specified LimitOrder. |
void |
Account.modify(MarketOrder mo)
Modifies the specified MarketOrder. |
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |