Class ExecutionStyle
- java.lang.Object
-
- com.caplin.motif.fx.ret.common.utility.field.ExecutionStyle
-
public class ExecutionStyle extends java.lang.Object
Defines values that are valid for the ExecutionStyle field.
-
-
Field Summary
Fields Modifier and Type Field Description static ExecutionStyle
BLOCK
static ExecutionStyle
CALL
static ExecutionStyle
ESP
static ExecutionStyle
RFS
static ExecutionStyle
STOP_LOSS
static ExecutionStyle
TAKE_PROFIT
-
Constructor Summary
Constructors Constructor Description ExecutionStyle(java.lang.String name)
ExecutionStyle(java.lang.String name, java.lang.String prettyName)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
static ExecutionStyle
getExecutionStyle(com.caplin.motif.fx.trading.orders.submission.ExecutionType executionType, org.slf4j.Logger logger)
static ExecutionStyle
getExecutionStyle(com.caplin.ret.trapi.fx.order.ExecutionStyle executionStyle)
static ExecutionStyle
getExecutionStyle(java.lang.String name)
static com.caplin.motif.fx.trading.orders.submission.ExecutionType
getExecutionType(com.caplin.ret.trapi.fx.order.ExecutionStyle executionStyle)
java.lang.String
getName()
java.lang.String
getPrettyName()
int
hashCode()
java.lang.String
toString()
-
-
-
Field Detail
-
CALL
public static final ExecutionStyle CALL
-
STOP_LOSS
public static final ExecutionStyle STOP_LOSS
-
TAKE_PROFIT
public static final ExecutionStyle TAKE_PROFIT
-
BLOCK
public static final ExecutionStyle BLOCK
-
RFS
public static final ExecutionStyle RFS
-
ESP
public static final ExecutionStyle ESP
-
-
Method Detail
-
getExecutionStyle
public static ExecutionStyle getExecutionStyle(java.lang.String name)
-
getExecutionStyle
public static ExecutionStyle getExecutionStyle(com.caplin.ret.trapi.fx.order.ExecutionStyle executionStyle)
-
getExecutionType
public static com.caplin.motif.fx.trading.orders.submission.ExecutionType getExecutionType(com.caplin.ret.trapi.fx.order.ExecutionStyle executionStyle)
-
getExecutionStyle
public static ExecutionStyle getExecutionStyle(com.caplin.motif.fx.trading.orders.submission.ExecutionType executionType, org.slf4j.Logger logger)
-
getName
public java.lang.String getName()
-
getPrettyName
public java.lang.String getPrettyName()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-