Class SampleTypes

java.lang.Object
com.strategyquant.tradinglib.SampleTypes

public class SampleTypes extends Object
The Class SampleTypes.
  • Field Details

    • FullSample

      public static final byte FullSample
      The Constant FullSample.
      See Also:
      Constant Field Values
    • InSample

      public static final byte InSample
      The Constant InSample.
      See Also:
      Constant Field Values
    • InSampleTraining

      public static final byte InSampleTraining
      The Constant InSampleTraining.
      See Also:
      Constant Field Values
    • InSampleValidation

      public static final byte InSampleValidation
      The Constant InSampleValidation.
      See Also:
      Constant Field Values
    • InSampleValidation1

      public static final byte InSampleValidation1
      The Constant InSampleValidation1.
      See Also:
      Constant Field Values
    • InSampleValidation2

      public static final byte InSampleValidation2
      The Constant InSampleValidation2.
      See Also:
      Constant Field Values
    • InSampleValidation3

      public static final byte InSampleValidation3
      The Constant InSampleValidation3.
      See Also:
      Constant Field Values
    • InSampleValidation4

      public static final byte InSampleValidation4
      The Constant InSampleValidation4.
      See Also:
      Constant Field Values
    • InSampleValidation5

      public static final byte InSampleValidation5
      The Constant InSampleValidation5.
      See Also:
      Constant Field Values
    • InSampleValidation6

      public static final byte InSampleValidation6
      The Constant InSampleValidation6.
      See Also:
      Constant Field Values
    • InSampleValidation7

      public static final byte InSampleValidation7
      The Constant InSampleValidation7.
      See Also:
      Constant Field Values
    • InSampleValidation8

      public static final byte InSampleValidation8
      The Constant InSampleValidation8.
      See Also:
      Constant Field Values
    • InSampleValidation9

      public static final byte InSampleValidation9
      The Constant InSampleValidation9.
      See Also:
      Constant Field Values
    • InSampleValidation10

      public static final byte InSampleValidation10
      The Constant InSampleValidation10.
      See Also:
      Constant Field Values
    • OutOfSample

      public static final byte OutOfSample
      The Constant OutOfSample.
      See Also:
      Constant Field Values
    • OutOfSample1

      public static final byte OutOfSample1
      The Constant OutOfSample1.
      See Also:
      Constant Field Values
    • OutOfSample2

      public static final byte OutOfSample2
      The Constant OutOfSample2.
      See Also:
      Constant Field Values
    • OutOfSample3

      public static final byte OutOfSample3
      The Constant OutOfSample3.
      See Also:
      Constant Field Values
    • OutOfSample4

      public static final byte OutOfSample4
      The Constant OutOfSample4.
      See Also:
      Constant Field Values
    • OutOfSample5

      public static final byte OutOfSample5
      The Constant OutOfSample5.
      See Also:
      Constant Field Values
    • OutOfSample6

      public static final byte OutOfSample6
      The Constant OutOfSample6.
      See Also:
      Constant Field Values
    • OutOfSample7

      public static final byte OutOfSample7
      The Constant OutOfSample7.
      See Also:
      Constant Field Values
    • OutOfSample8

      public static final byte OutOfSample8
      The Constant OutOfSample8.
      See Also:
      Constant Field Values
    • OutOfSample9

      public static final byte OutOfSample9
      The Constant OutOfSample9.
      See Also:
      Constant Field Values
    • OutOfSample10

      public static final byte OutOfSample10
      The Constant OutOfSample10.
      See Also:
      Constant Field Values
    • InSampleValidationEvery

      public static final byte InSampleValidationEvery
      The Constant InSampleValidationEvery.
      See Also:
      Constant Field Values
    • OutOfSampleEvery

      public static final byte OutOfSampleEvery
      The Constant OutOfSampleEvery.
      See Also:
      Constant Field Values
    • NoTrade

      public static final byte NoTrade
      The Constant NoTrade.
      See Also:
      Constant Field Values
  • Constructor Details

    • SampleTypes

      public SampleTypes()
  • Method Details

    • types

      public static byte[] types()
      Types.
      Returns:
      the byte[]
    • typeToString

      public static String typeToString(byte type)
      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

      public static String typeToFullString(byte type)
      Type to full string.
      Parameters:
      type - the type
      Returns:
      the string
    • list

      public static byte[] list()
      List.
      Returns:
      the byte[]