Package com.strategyquant.tradinglib
Class PlTypes
java.lang.Object
com.strategyquant.tradinglib.PlTypes
The Class PlTypes.
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
Money
public static final byte MoneyThe Constant Money.- See Also:
- Constant Field Values
-
Percent
public static final byte PercentThe Constant Percent.- See Also:
- Constant Field Values
-
Pips
public static final byte PipsThe Constant Pips.- See Also:
- Constant Field Values
-
OpenMoney
public static final byte OpenMoneyThe Constant Pips.- See Also:
- Constant Field Values
-
OpenPercent
public static final byte OpenPercentThe Constant Pips.- See Also:
- Constant Field Values
-
Ticks
public static final byte TicksThe Constant Ticks.- See Also:
- Constant Field Values
-
-
Constructor Details
-
PlTypes
public PlTypes()
-
-
Method Details
-
print
Prints the.- Parameters:
plType
- the pl type- Returns:
- the string
-
printPL
Prints the PL.- Parameters:
value
- the valueplType
- the pl type- Returns:
- the string
-
isValid
public static boolean isValid(byte type)Checks if is valid.- Parameters:
type
- the type- Returns:
- true, if is valid
-
typeToString
Type to string.- Parameters:
type
- the type- Returns:
- the string
-