Enum RejectReason
- java.lang.Object
-
- java.lang.Enum<RejectReason>
-
- com.bybit.api.client.domain.trade.RejectReason
-
- All Implemented Interfaces:
Serializable,Comparable<RejectReason>
public enum RejectReason extends Enum<RejectReason>
Reject reason. Normal spot is not supported
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RejectReasonfromString(String value)static RejectReasonvalueOf(String name)Returns the enum constant of this type with the specified name.static RejectReason[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EC_NoError
public static final RejectReason EC_NoError
-
EC_Others
public static final RejectReason EC_Others
-
EC_UnknownMessageType
public static final RejectReason EC_UnknownMessageType
-
EC_MissingClOrdID
public static final RejectReason EC_MissingClOrdID
-
EC_MissingOrigClOrdID
public static final RejectReason EC_MissingOrigClOrdID
-
EC_ClOrdIDOrigClOrdIDAreTheSame
public static final RejectReason EC_ClOrdIDOrigClOrdIDAreTheSame
-
EC_DuplicatedClOrdID
public static final RejectReason EC_DuplicatedClOrdID
-
EC_OrigClOrdIDDoesNotExist
public static final RejectReason EC_OrigClOrdIDDoesNotExist
-
EC_TooLateToCancel
public static final RejectReason EC_TooLateToCancel
-
EC_UnknownOrderType
public static final RejectReason EC_UnknownOrderType
-
EC_UnknownSide
public static final RejectReason EC_UnknownSide
-
EC_UnknownTimeInForce
public static final RejectReason EC_UnknownTimeInForce
-
EC_WronglyRouted
public static final RejectReason EC_WronglyRouted
-
EC_MarketOrderPriceIsNotZero
public static final RejectReason EC_MarketOrderPriceIsNotZero
-
EC_LimitOrderInvalidPrice
public static final RejectReason EC_LimitOrderInvalidPrice
-
EC_NoEnoughQtyToFill
public static final RejectReason EC_NoEnoughQtyToFill
-
EC_NoImmediateQtyToFill
public static final RejectReason EC_NoImmediateQtyToFill
-
EC_PerCancelRequest
public static final RejectReason EC_PerCancelRequest
-
EC_MarketOrderCannotBePostOnly
public static final RejectReason EC_MarketOrderCannotBePostOnly
-
EC_PostOnlyWillTakeLiquidity
public static final RejectReason EC_PostOnlyWillTakeLiquidity
-
EC_CancelReplaceOrder
public static final RejectReason EC_CancelReplaceOrder
-
EC_InvalidSymbolStatus
public static final RejectReason EC_InvalidSymbolStatus
-
UNKNOWN
public static final RejectReason UNKNOWN
-
-
Method Detail
-
values
public static RejectReason[] 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 (RejectReason c : RejectReason.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RejectReason 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
-
fromString
public static RejectReason fromString(String value)
-
-