Class WalkForwardColumn

java.lang.Object
com.strategyquant.tradinglib.debug.Debugger
com.strategyquant.tradinglib.table.TableColumn
com.strategyquant.tradinglib.WalkForwardColumn

public abstract class WalkForwardColumn extends com.strategyquant.tradinglib.table.TableColumn
The Class WalkForwardColumn.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static String
    The Constant WFScoreStatsColumn.

    Fields inherited from class com.strategyquant.tradinglib.table.TableColumn

    currencySymbol, Decimal2, Decimal2Pct, Decimal2Pips, Decimal2PL, Decimal4, Decimal5, HORIZONTAL_ALIGNMENT_CENTER, HORIZONTAL_ALIGNMENT_LEFT, HORIZONTAL_ALIGNMENT_RIGHT, Integer, NOT_AVAILABLE, Text, Time
  • Constructor Summary

    Constructors
    Constructor
    Description
    WalkForwardColumn​(String statsValueName, String columnName, String formatType, byte valueType)
    Instantiates a new walk forward column.
  • Method Summary

    Modifier and Type
    Method
    Description
    abstract double
    Compute.
    void
    compute​(WalkForwardResult wfResult, SQStats stats)
    Compute.
    byte
    Gets the value type.

    Methods inherited from class com.strategyquant.tradinglib.table.TableColumn

    getName, getNumericValue, getStatsValueName, getType, getWidth, isEditable, isFontBold, isSpecialValue, printPlValue, printPlValue, printsSpecialValue, printValue, setEditable, setName, setTooltip, setWidth

    Methods inherited from class com.strategyquant.tradinglib.debug.Debugger

    debug, fdebug

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • WalkForwardColumn

      public WalkForwardColumn(String statsValueName, String columnName, String formatType, byte valueType)
      Instantiates a new walk forward column.
      Parameters:
      statsValueName - the stats value name
      columnName - the column name
      formatType - the format type
      valueType - the value type
  • Method Details

    • getValueType

      public byte getValueType()
      Gets the value type.
      Returns:
      the value type
    • compute

      public abstract double compute(WalkForwardResult wfResult)
      Compute.
      Parameters:
      wfResult - the wf result
      Returns:
      the double
    • compute

      public void compute(WalkForwardResult wfResult, SQStats stats)
      Compute.
      Parameters:
      wfResult - the wf result
      stats - the stats