Enum OrderStatus
- java.lang.Object
-
- java.lang.Enum<OrderStatus>
-
- com.bybit.api.client.domain.trade.OrderStatus
-
- All Implemented Interfaces:
Serializable,Comparable<OrderStatus>
public enum OrderStatus extends Enum<OrderStatus>
Status of a submitted order.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACTIVECANCELLEDCREATEDDEACTIVATEDFILLEDNEWPARTIALLY_FILLEDPARTIALLY_FILLED_CANCELEDREJECTEDTRIGGEREDUNTRIGGERED
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static OrderStatusvalueOf(String name)Returns the enum constant of this type with the specified name.static OrderStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CREATED
public static final OrderStatus CREATED
-
NEW
public static final OrderStatus NEW
-
REJECTED
public static final OrderStatus REJECTED
-
PARTIALLY_FILLED
public static final OrderStatus PARTIALLY_FILLED
-
PARTIALLY_FILLED_CANCELED
public static final OrderStatus PARTIALLY_FILLED_CANCELED
-
FILLED
public static final OrderStatus FILLED
-
CANCELLED
public static final OrderStatus CANCELLED
-
UNTRIGGERED
public static final OrderStatus UNTRIGGERED
-
TRIGGERED
public static final OrderStatus TRIGGERED
-
DEACTIVATED
public static final OrderStatus DEACTIVATED
-
ACTIVE
public static final OrderStatus ACTIVE
-
-
Method Detail
-
values
public static OrderStatus[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (OrderStatus c : OrderStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OrderStatus valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
-