Enum StopOrderType
- java.lang.Object
-
- java.lang.Enum<StopOrderType>
-
- com.bybit.api.client.domain.trade.StopOrderType
-
- All Implemented Interfaces:
Serializable,Comparable<StopOrderType>
public enum StopOrderType extends Enum<StopOrderType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description MM_RATE_CLOSEPARTIAL_STOP_LOSSPARTIAL_TAKE_PROFITSTOPSTOP_LOSSTAKE_PROFITTPSL_ORDERTRAILING_STOP
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StopOrderTypevalueOf(String name)Returns the enum constant of this type with the specified name.static StopOrderType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TAKE_PROFIT
public static final StopOrderType TAKE_PROFIT
-
STOP_LOSS
public static final StopOrderType STOP_LOSS
-
TRAILING_STOP
public static final StopOrderType TRAILING_STOP
-
STOP
public static final StopOrderType STOP
-
PARTIAL_TAKE_PROFIT
public static final StopOrderType PARTIAL_TAKE_PROFIT
-
PARTIAL_STOP_LOSS
public static final StopOrderType PARTIAL_STOP_LOSS
-
TPSL_ORDER
public static final StopOrderType TPSL_ORDER
-
MM_RATE_CLOSE
public static final StopOrderType MM_RATE_CLOSE
-
-
Method Detail
-
values
public static StopOrderType[] 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 (StopOrderType c : StopOrderType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StopOrderType 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
-
-