Package xyz.felh.okx.v5.enumeration
Enum Class OrderType
- All Implemented Interfaces:
Serializable,Comparable<OrderType>,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription全部成交或立即取消立即成交并取消剩余限价单市价单做市商保护(仅适用于组合保证金账户模式下的期权订单)做市商保护且只做maker单(仅适用于组合保证金账户模式下的期权订单)市价委托立即成交并取消剩余(仅适用交割、永续)只做maker单 -
Method Summary
-
Enum Constant Details
-
MARKET
市价单 -
LIMIT
限价单 -
POST_ONLY
只做maker单 -
FOK
全部成交或立即取消 -
IOC
立即成交并取消剩余 -
OPTIMAL_LIMIT_IOC
市价委托立即成交并取消剩余(仅适用交割、永续) -
MMP
做市商保护(仅适用于组合保证金账户模式下的期权订单) -
MMP_AND_POST_ONLY
做市商保护且只做maker单(仅适用于组合保证金账户模式下的期权订单)
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
value
-