Package com.strategyquant.tradinglib
Class ReturnTypes
java.lang.Object
com.strategyquant.tradinglib.ReturnTypes
The Class ReturnTypes.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic int
The Constant Action.static int
The Constant Boolean.static int
The Constant None.static int
The Constant Number.static int
The Constant Order.static int
The Constant Price.static int
The Constant PriceOrNumber.static int
The Constant PriceRange.static int
The Constant String. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic int
Translate.static String
translateReturnType(int returnType)
Translate return type.
-
Field Details
-
None
public static final int NoneThe Constant None.- See Also:
- Constant Field Values
-
Number
public static final int NumberThe Constant Number.- See Also:
- Constant Field Values
-
Price
public static final int PriceThe Constant Price.- See Also:
- Constant Field Values
-
Boolean
public static final int BooleanThe Constant Boolean.- See Also:
- Constant Field Values
-
Action
public static final int ActionThe Constant Action.- See Also:
- Constant Field Values
-
String
public static final int StringThe Constant String.- See Also:
- Constant Field Values
-
PriceOrNumber
public static final int PriceOrNumberThe Constant PriceOrNumber.- See Also:
- Constant Field Values
-
PriceRange
public static final int PriceRangeThe Constant PriceRange.- See Also:
- Constant Field Values
-
Order
public static final int OrderThe Constant Order.- See Also:
- Constant Field Values
-
-
Constructor Details
-
ReturnTypes
public ReturnTypes()
-
-
Method Details
-
translateReturnType
Translate return type.- Parameters:
returnType
- the return type- Returns:
- the string
- Throws:
BlockDefinitionException
- the block definition exception
-
translate
Translate.- Parameters:
strType
- the str type- Returns:
- the int
-