Enum Class AccountStatus

java.lang.Object
java.lang.Enum<AccountStatus>
markets.alpaca.client.openapi.trading.model.AccountStatus
All Implemented Interfaces:
Serializable, Comparable<AccountStatus>, Constable

public enum AccountStatus extends Enum<AccountStatus> implements Serializable
An enum representing the various possible account status values. Most likely, the account status is ACTIVE unless there is any problem. The account status may get in ACCOUNT_UPDATED when personal information is being updated from the dashboard, in which case you may not be allowed trading for a short period of time until the change is approved. - ONBOARDING The account is onboarding. - SUBMISSION_FAILED The account application submission failed for some reason. - SUBMITTED The account application has been submitted for review. - ACCOUNT_UPDATED The account information is being updated. - APPROVAL_PENDING The final account approval is pending. - ACTIVE The account is active for trading. - REJECTED The account application has been rejected.
  • Enum Constant Details

  • Method Details

    • values

      public static AccountStatus[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static AccountStatus valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getValue

      public String getValue()
    • toString

      public String toString()
      Overrides:
      toString in class Enum<AccountStatus>
    • fromValue

      public static AccountStatus fromValue(String value)
    • validateJsonElement

      public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOException
      Throws:
      IOException