Class SweepRunRow

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.14.0") public class SweepRunRow extends Object
SweepRunRow
  • Field Details

  • Constructor Details

    • SweepRunRow

      public SweepRunRow()
  • Method Details

    • runIx

      public SweepRunRow runIx(@Nonnull Integer runIx)
    • getRunIx

      @Nonnull public Integer getRunIx()
      Deterministic zero-based expansion index, stable across shards and ranking. minimum: 0
      Returns:
      runIx
    • setRunIx

      public void setRunIx(@Nonnull Integer runIx)
    • rank

      public SweepRunRow rank(@Nullable Integer rank)
    • getRank

      @Nullable public Integer getRank()
      Present only in the `ranked` view. minimum: 1
      Returns:
      rank
    • setRank

      public void setRank(@Nullable Integer rank)
    • plateauScore

      public SweepRunRow plateauScore(@Nullable Double plateauScore)
    • getPlateauScore

      @Nullable public Double getPlateauScore()
      The objective of the worst run in this point's immediate neighbourhood — how well the region around it holds up, not how well it scored itself. Present only in the `ranked` view when plateau ranking applied. Always read together with `neighbourCount`.
      Returns:
      plateauScore
    • setPlateauScore

      public void setPlateauScore(@Nullable Double plateauScore)
    • neighbourCount

      public SweepRunRow neighbourCount(@Nullable Integer neighbourCount)
    • getNeighbourCount

      @Nullable public Integer getNeighbourCount()
      How many neighbouring parameter points backed the `plateauScore`. Zero means the point had no neighbours in the grid, so its score is unevidenced rather than confirmed — the value alone cannot be distinguished from a genuinely robust one. minimum: 0
      Returns:
      neighbourCount
    • setNeighbourCount

      public void setNeighbourCount(@Nullable Integer neighbourCount)
    • deflatedSharpe

      public SweepRunRow deflatedSharpe(@Nullable Double deflatedSharpe)
    • getDeflatedSharpe

      @Nullable public Double getDeflatedSharpe()
      Probability that this run's Sharpe reflects real edge rather than the best draw from however many parameter vectors were tried. Above ~0.95 the result survives the multiple-testing correction; near 0.5 or below it is indistinguishable from the best of a pile of coin flips. Absent on aborted runs, on sweeps with too few trials to establish any dispersion to deflate against, on runs with fewer than 3 period returns, and on a degenerate (near-constant) return series — all cases where the underlying statistic isn't meaningfully computable, rather than genuinely zero. A present value is the computed probability, however small. minimum: 0 maximum: 1
      Returns:
      deflatedSharpe
    • setDeflatedSharpe

      public void setDeflatedSharpe(@Nullable Double deflatedSharpe)
    • params

      public SweepRunRow params(@Nonnull Object params)
    • getParams

      @Nonnull public Object getParams()
      Get params
      Returns:
      params
    • setParams

      public void setParams(@Nonnull Object params)
    • sharpe

      public SweepRunRow sharpe(@Nonnull Double sharpe)
    • getSharpe

      @Nonnull public Double getSharpe()
      Get sharpe
      Returns:
      sharpe
    • setSharpe

      public void setSharpe(@Nonnull Double sharpe)
    • sortino

      public SweepRunRow sortino(@Nonnull Double sortino)
    • getSortino

      @Nonnull public Double getSortino()
      Get sortino
      Returns:
      sortino
    • setSortino

      public void setSortino(@Nonnull Double sortino)
    • pnl

      public SweepRunRow pnl(@Nonnull Double pnl)
    • getPnl

      @Nonnull public Double getPnl()
      Absolute net PnL in the output currency.
      Returns:
      pnl
    • setPnl

      public void setPnl(@Nonnull Double pnl)
    • pnlPct

      public SweepRunRow pnlPct(@Nonnull Double pnlPct)
    • getPnlPct

      @Nonnull public Double getPnlPct()
      Same units as `pnlTotalPercent` on the single-run result — percent (0-100 scale).
      Returns:
      pnlPct
    • setPnlPct

      public void setPnlPct(@Nonnull Double pnlPct)
    • cagr

      public SweepRunRow cagr(@Nonnull Double cagr)
    • getCagr

      @Nonnull public Double getCagr()
      Same units as `cagr` on the single-run result — a ratio, not a percent.
      Returns:
      cagr
    • setCagr

      public void setCagr(@Nonnull Double cagr)
    • maxDdPct

      public SweepRunRow maxDdPct(@Nonnull Double maxDdPct)
    • getMaxDdPct

      @Nonnull public Double getMaxDdPct()
      Same units as `maxDrawdownPercent` on the single-run result — percent (0-100 scale).
      Returns:
      maxDdPct
    • setMaxDdPct

      public void setMaxDdPct(@Nonnull Double maxDdPct)
    • trades

      public SweepRunRow trades(@Nonnull Long trades)
    • getTrades

      @Nonnull public Long getTrades()
      Get trades
      Returns:
      trades
    • setTrades

      public void setTrades(@Nonnull Long trades)
    • winRate

      public SweepRunRow winRate(@Nonnull Double winRate)
    • getWinRate

      @Nonnull public Double getWinRate()
      Same units as `winRate` on the single-run result — a fraction, 0.0-1.0 (a rate, not a percent).
      Returns:
      winRate
    • setWinRate

      public void setWinRate(@Nonnull Double winRate)
    • belowTradeFloor

      public SweepRunRow belowTradeFloor(@Nonnull Boolean belowTradeFloor)
    • getBelowTradeFloor

      @Nonnull public Boolean getBelowTradeFloor()
      Get belowTradeFloor
      Returns:
      belowTradeFloor
    • setBelowTradeFloor

      public void setBelowTradeFloor(@Nonnull Boolean belowTradeFloor)
    • aborted

      public SweepRunRow aborted(@Nonnull Boolean aborted)
    • getAborted

      @Nonnull public Boolean getAborted()
      Get aborted
      Returns:
      aborted
    • setAborted

      public void setAborted(@Nonnull Boolean aborted)
    • runtimeMs

      public SweepRunRow runtimeMs(@Nonnull Long runtimeMs)
    • getRuntimeMs

      @Nonnull public Long getRuntimeMs()
      Get runtimeMs
      Returns:
      runtimeMs
    • setRuntimeMs

      public void setRuntimeMs(@Nonnull Long runtimeMs)
    • equityCurve

      public SweepRunRow equityCurve(@Nullable EquityCurveResult equityCurve)
    • getEquityCurve

      @Nullable public EquityCurveResult getEquityCurve()
      Present whenever this trial actually has a curve — which is any completed run of a sweep that requested curves at all (`equityCurve.mode` `topN`/`topPct`), not only the ranked winners. Absent, not null, when there is genuinely nothing: the run aborted, it made no trades, or the sweep never retained curves (`mode` `auto`/`none`). Selection decides how the curve travels, not whether it exists. A row may carry `url` alone, or `url` together with the points inline. **Read `points`/`equities` to tell whether the curve is inline — never the presence of this object, and never the absence of `url`.** Both mislead, and in opposite directions: this object is present on rows that carry only a pointer, and `url` stays present alongside an inline curve so a caller can still re-request a different transform. An inline curve is emitted on the materialisation view (`?order=natural`), where each row is read once; the ranked view keeps the pointer, being polled. When only a pointer is present, `GET` the `url` for the curve. Its own `meta` there is the real, possibly size-guarded outcome. This outer `meta` may be a declaration rather than a measurement — for a row whose curve was not promoted, the point count is derived from the trade count (one equity point per closed trade) instead of being read from the store, to keep a polled response from doing per-row work.
      Returns:
      equityCurve
    • setEquityCurve

      public void setEquityCurve(@Nullable EquityCurveResult equityCurve)
    • equals

      public boolean equals(Object o)
      Return true if this SweepRunRow 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