Class WalkForwardResult

java.lang.Object
com.qtsurfer.api.client.model.WalkForwardResult

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.14.0") public class WalkForwardResult extends Object
Present only on a sweep submitted with `walkForward`, and present from acceptance onward — its presence, not its contents, is what identifies a walk-forward sweep. `completedFolds` is 0 while the first fold is still running.
  • Field Details

  • Constructor Details

    • WalkForwardResult

      public WalkForwardResult()
  • Method Details

    • folds

      public WalkForwardResult folds(@Nonnull Integer folds)
    • getFolds

      @Nonnull public Integer getFolds()
      Folds requested at submit.
      Returns:
      folds
    • setFolds

      public void setFolds(@Nonnull Integer folds)
    • inSamplePct

      public WalkForwardResult inSamplePct(@Nullable Integer inSamplePct)
    • getInSamplePct

      @Nullable public Integer getInSamplePct()
      Resolved in-sample share each fold optimized on.
      Returns:
      inSamplePct
    • setInSamplePct

      public void setInSamplePct(@Nullable Integer inSamplePct)
    • completedFolds

      public WalkForwardResult completedFolds(@Nonnull Integer completedFolds)
    • getCompletedFolds

      @Nonnull public Integer getCompletedFolds()
      Folds that have finished and reported a winner.
      Returns:
      completedFolds
    • setCompletedFolds

      public void setCompletedFolds(@Nonnull Integer completedFolds)
    • paramDrift

      public WalkForwardResult paramDrift(@Nullable Double paramDrift)
    • getParamDrift

      @Nullable public Double getParamDrift()
      Mean normalized lattice distance between consecutive fold winners. Low is good: winners that stay in a tight band fold after fold are evidence the parameter means something, while winners that jump across the grid every time are the sweep re-fitting noise, and that backtest will not survive contact with live data. **Absent is not zero** — the field is omitted whenever the figure could not be computed (fewer than two folds finished, no stored grid to place winners on), because zero is itself a meaningful reading here and a placeholder would be indistinguishable from perfect stability. minimum: 0
      Returns:
      paramDrift
    • setParamDrift

      public void setParamDrift(@Nullable Double paramDrift)
    • results

      public WalkForwardResult results(@Nonnull List<WalkForwardFold> results)
    • addResultsItem

      public WalkForwardResult addResultsItem(WalkForwardFold resultsItem)
    • getResults

      @Nonnull public List<WalkForwardFold> getResults()
      One entry per completed fold, oldest first.
      Returns:
      results
    • setResults

      public void setResults(@Nonnull List<WalkForwardFold> results)
    • equals

      public boolean equals(Object o)
      Return true if this WalkForwardResult object is equal to o.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • toUrlQueryString

      public String toUrlQueryString()
      Convert the instance into URL query string.
      Returns:
      URL query string
    • toUrlQueryString

      public String toUrlQueryString(String prefix)
      Convert the instance into URL query string.
      Parameters:
      prefix - prefix of the query string
      Returns:
      URL query string