Class ReturnTypes

java.lang.Object
com.strategyquant.tradinglib.ReturnTypes

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

  • Constructor Details

    • ReturnTypes

      public ReturnTypes()
  • Method Details

    • translateReturnType

      public static String translateReturnType(int returnType) throws BlockDefinitionException
      Translate return type.
      Parameters:
      returnType - the return type
      Returns:
      the string
      Throws:
      BlockDefinitionException - the block definition exception
    • translate

      public static int translate(String strType)
      Translate.
      Parameters:
      strType - the str type
      Returns:
      the int