Package com.strategyquant.tradinglib
Class SampleTypes
java.lang.Object
com.strategyquant.tradinglib.SampleTypes
The Class SampleTypes.
-
Field Summary
Modifier and TypeFieldDescriptionstatic byte
The Constant FullSample.static byte
The Constant InSample.static byte
The Constant InSampleTraining.static byte
The Constant InSampleValidation.static byte
The Constant InSampleValidation1.static byte
The Constant InSampleValidation10.static byte
The Constant InSampleValidation2.static byte
The Constant InSampleValidation3.static byte
The Constant InSampleValidation4.static byte
The Constant InSampleValidation5.static byte
The Constant InSampleValidation6.static byte
The Constant InSampleValidation7.static byte
The Constant InSampleValidation8.static byte
The Constant InSampleValidation9.static byte
The Constant InSampleValidationEvery.static byte
The Constant NoTrade.static byte
The Constant OutOfSample.static byte
The Constant OutOfSample1.static byte
The Constant OutOfSample10.static byte
The Constant OutOfSample2.static byte
The Constant OutOfSample3.static byte
The Constant OutOfSample4.static byte
The Constant OutOfSample5.static byte
The Constant OutOfSample6.static byte
The Constant OutOfSample7.static byte
The Constant OutOfSample8.static byte
The Constant OutOfSample9.static byte
The Constant OutOfSampleEvery. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
isISV(byte type)
Checks if is isv.static boolean
isOOS(byte type)
Checks if is oos.static byte[]
list()
List.static byte[]
types()
Types.static String
typeToFullString(byte type)
Type to full string.static String
typeToString(byte type)
Type to string.
-
Field Details
-
FullSample
public static final byte FullSampleThe Constant FullSample.- See Also:
- Constant Field Values
-
InSample
public static final byte InSampleThe Constant InSample.- See Also:
- Constant Field Values
-
InSampleTraining
public static final byte InSampleTrainingThe Constant InSampleTraining.- See Also:
- Constant Field Values
-
InSampleValidation
public static final byte InSampleValidationThe Constant InSampleValidation.- See Also:
- Constant Field Values
-
InSampleValidation1
public static final byte InSampleValidation1The Constant InSampleValidation1.- See Also:
- Constant Field Values
-
InSampleValidation2
public static final byte InSampleValidation2The Constant InSampleValidation2.- See Also:
- Constant Field Values
-
InSampleValidation3
public static final byte InSampleValidation3The Constant InSampleValidation3.- See Also:
- Constant Field Values
-
InSampleValidation4
public static final byte InSampleValidation4The Constant InSampleValidation4.- See Also:
- Constant Field Values
-
InSampleValidation5
public static final byte InSampleValidation5The Constant InSampleValidation5.- See Also:
- Constant Field Values
-
InSampleValidation6
public static final byte InSampleValidation6The Constant InSampleValidation6.- See Also:
- Constant Field Values
-
InSampleValidation7
public static final byte InSampleValidation7The Constant InSampleValidation7.- See Also:
- Constant Field Values
-
InSampleValidation8
public static final byte InSampleValidation8The Constant InSampleValidation8.- See Also:
- Constant Field Values
-
InSampleValidation9
public static final byte InSampleValidation9The Constant InSampleValidation9.- See Also:
- Constant Field Values
-
InSampleValidation10
public static final byte InSampleValidation10The Constant InSampleValidation10.- See Also:
- Constant Field Values
-
OutOfSample
public static final byte OutOfSampleThe Constant OutOfSample.- See Also:
- Constant Field Values
-
OutOfSample1
public static final byte OutOfSample1The Constant OutOfSample1.- See Also:
- Constant Field Values
-
OutOfSample2
public static final byte OutOfSample2The Constant OutOfSample2.- See Also:
- Constant Field Values
-
OutOfSample3
public static final byte OutOfSample3The Constant OutOfSample3.- See Also:
- Constant Field Values
-
OutOfSample4
public static final byte OutOfSample4The Constant OutOfSample4.- See Also:
- Constant Field Values
-
OutOfSample5
public static final byte OutOfSample5The Constant OutOfSample5.- See Also:
- Constant Field Values
-
OutOfSample6
public static final byte OutOfSample6The Constant OutOfSample6.- See Also:
- Constant Field Values
-
OutOfSample7
public static final byte OutOfSample7The Constant OutOfSample7.- See Also:
- Constant Field Values
-
OutOfSample8
public static final byte OutOfSample8The Constant OutOfSample8.- See Also:
- Constant Field Values
-
OutOfSample9
public static final byte OutOfSample9The Constant OutOfSample9.- See Also:
- Constant Field Values
-
OutOfSample10
public static final byte OutOfSample10The Constant OutOfSample10.- See Also:
- Constant Field Values
-
InSampleValidationEvery
public static final byte InSampleValidationEveryThe Constant InSampleValidationEvery.- See Also:
- Constant Field Values
-
OutOfSampleEvery
public static final byte OutOfSampleEveryThe Constant OutOfSampleEvery.- See Also:
- Constant Field Values
-
NoTrade
public static final byte NoTradeThe Constant NoTrade.- See Also:
- Constant Field Values
-
-
Constructor Details
-
SampleTypes
public SampleTypes()
-
-
Method Details
-
types
public static byte[] types()Types.- Returns:
- the byte[]
-
typeToString
Type to string.- Parameters:
type
- the type- Returns:
- the string
-
isOOS
public static boolean isOOS(byte type)Checks if is oos.- Parameters:
type
- the type- Returns:
- true, if is oos
-
isISV
public static boolean isISV(byte type)Checks if is isv.- Parameters:
type
- the type- Returns:
- true, if is isv
-
typeToFullString
Type to full string.- Parameters:
type
- the type- Returns:
- the string
-
list
public static byte[] list()List.- Returns:
- the byte[]
-