public enum KrakenOrderType extends Enum<KrakenOrderType>
| Enum Constant and Description |
|---|
LIMIT |
MARKET |
STOP_LOSS |
STOP_LOSS_AND_LIMIT |
STOP_LOSS_LIMIT |
STOP_LOSS_PROFIT |
STOP_LOSS_PROFIT_LIMIT |
TAKE_PROFIT |
TAKE_PROFIT_LIMIT |
TRAILING_STOP |
TRAILING_STOP_LIMIT |
| Modifier and Type | Method and Description |
|---|---|
static KrakenOrderType |
fromString(String orderTypeString) |
String |
toString() |
static KrakenOrderType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KrakenOrderType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KrakenOrderType MARKET
public static final KrakenOrderType LIMIT
public static final KrakenOrderType STOP_LOSS
public static final KrakenOrderType TAKE_PROFIT
public static final KrakenOrderType STOP_LOSS_PROFIT
public static final KrakenOrderType STOP_LOSS_PROFIT_LIMIT
public static final KrakenOrderType STOP_LOSS_LIMIT
public static final KrakenOrderType TAKE_PROFIT_LIMIT
public static final KrakenOrderType TRAILING_STOP
public static final KrakenOrderType TRAILING_STOP_LIMIT
public static final KrakenOrderType STOP_LOSS_AND_LIMIT
public static KrakenOrderType[] values()
for (KrakenOrderType c : KrakenOrderType.values()) System.out.println(c);
public static KrakenOrderType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String toString()
toString in class Enum<KrakenOrderType>public static KrakenOrderType fromString(String orderTypeString)
Copyright © 2012–2017 Xeiam, LLC. All rights reserved.