public static enum IAccount.AccountState extends java.lang.Enum<IAccount.AccountState>
| Enum Constant and Description | 
|---|
| BLOCKEDPermanent status 4 - Account is blocked. | 
| DISABLEDPermanent status 2 - Margin call. | 
| MARGIN_CALLTemporary status - Margin call status. | 
| MARGIN_CLOSINGTemporary status - Margin call triggered, closing positions by force. | 
| OKPermanent status 1  - Account OK, trading is allowed. | 
| OK_NO_MARGIN_CALLPermanent status 3  - Account acting as usually, but margin call doesn't close positions. | 
| Modifier and Type | Method and Description | 
|---|---|
| java.lang.String | toString() | 
| static IAccount.AccountState | valueOf(java.lang.String name)Returns the enum constant of this type with the specified name. | 
| static IAccount.AccountState[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final IAccount.AccountState OK
public static final IAccount.AccountState MARGIN_CLOSING
public static final IAccount.AccountState MARGIN_CALL
public static final IAccount.AccountState OK_NO_MARGIN_CALL
public static final IAccount.AccountState DISABLED
public static final IAccount.AccountState BLOCKED
public static IAccount.AccountState[] values()
for (IAccount.AccountState c : IAccount.AccountState.values()) System.out.println(c);
public static IAccount.AccountState valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String toString()
toString in class java.lang.Enum<IAccount.AccountState>Copyright © 2025. All rights reserved.