Package com.strategyquant.tradinglib
Class SampleTypes
java.lang.Object
com.strategyquant.tradinglib.SampleTypes
The Class SampleTypes.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic byteThe Constant FullSample.static byteThe Constant InSample.static byteThe Constant InSampleTraining.static byteThe Constant InSampleValidation.static byteThe Constant InSampleValidation1.static byteThe Constant InSampleValidation10.static byteThe Constant InSampleValidation2.static byteThe Constant InSampleValidation3.static byteThe Constant InSampleValidation4.static byteThe Constant InSampleValidation5.static byteThe Constant InSampleValidation6.static byteThe Constant InSampleValidation7.static byteThe Constant InSampleValidation8.static byteThe Constant InSampleValidation9.static byteThe Constant InSampleValidationEvery.static byteThe Constant NoTrade.static byteThe Constant OutOfSample.static byteThe Constant OutOfSample1.static byteThe Constant OutOfSample10.static byteThe Constant OutOfSample2.static byteThe Constant OutOfSample3.static byteThe Constant OutOfSample4.static byteThe Constant OutOfSample5.static byteThe Constant OutOfSample6.static byteThe Constant OutOfSample7.static byteThe Constant OutOfSample8.static byteThe Constant OutOfSample9.static byteThe Constant OutOfSampleEvery. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisISV(byte type)Checks if is isv.static booleanisOOS(byte type)Checks if is oos.static byte[]list()List.static byte[]types()Types.static StringtypeToFullString(byte type)Type to full string.static StringtypeToString(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[]
-