Package com.qtsurfer.api.client.model
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 Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbelowTradeFloor(Boolean belowTradeFloor) deflatedSharpe(Double deflatedSharpe) booleanReturn true if this SweepRunRow object is equal to o.equityCurve(EquityCurveResult equityCurve) Get abortedGet belowTradeFloorgetCagr()Same units as `cagr` on the single-run result — a ratio, not a percent.Probability that this run's Sharpe reflects real edge rather than the best draw from however many parameter vectors were tried.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.Same units as `maxDrawdownPercent` on the single-run result — percent (0-100 scale).How many neighbouring parameter points backed the `plateauScore`.Get paramsThe 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.getPnl()Absolute net PnL in the output currency.Same units as `pnlTotalPercent` on the single-run result — percent (0-100 scale).getRank()Present only in the `ranked` view.getRunIx()Deterministic zero-based expansion index, stable across shards and ranking.Get runtimeMsGet sharpeGet sortinoGet tradesSame units as `winRate` on the single-run result — a fraction, 0.0-1.0 (a rate, not a percent).inthashCode()neighbourCount(Integer neighbourCount) plateauScore(Double plateauScore) voidsetAborted(Boolean aborted) voidsetBelowTradeFloor(Boolean belowTradeFloor) voidvoidsetDeflatedSharpe(Double deflatedSharpe) voidsetEquityCurve(EquityCurveResult equityCurve) voidsetMaxDdPct(Double maxDdPct) voidsetNeighbourCount(Integer neighbourCount) voidvoidsetPlateauScore(Double plateauScore) voidvoidvoidvoidvoidsetRuntimeMs(Long runtimeMs) voidvoidsetSortino(Double sortino) voidvoidsetWinRate(Double winRate) toString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_RUN_IX
- See Also:
-
JSON_PROPERTY_RANK
- See Also:
-
JSON_PROPERTY_PLATEAU_SCORE
- See Also:
-
JSON_PROPERTY_NEIGHBOUR_COUNT
- See Also:
-
JSON_PROPERTY_DEFLATED_SHARPE
- See Also:
-
JSON_PROPERTY_PARAMS
- See Also:
-
JSON_PROPERTY_SHARPE
- See Also:
-
JSON_PROPERTY_SORTINO
- See Also:
-
JSON_PROPERTY_PNL
- See Also:
-
JSON_PROPERTY_PNL_PCT
- See Also:
-
JSON_PROPERTY_CAGR
- See Also:
-
JSON_PROPERTY_MAX_DD_PCT
- See Also:
-
JSON_PROPERTY_TRADES
- See Also:
-
JSON_PROPERTY_WIN_RATE
- See Also:
-
JSON_PROPERTY_BELOW_TRADE_FLOOR
- See Also:
-
JSON_PROPERTY_ABORTED
- See Also:
-
JSON_PROPERTY_RUNTIME_MS
- See Also:
-
JSON_PROPERTY_EQUITY_CURVE
- See Also:
-
-
Constructor Details
-
SweepRunRow
public SweepRunRow()
-
-
Method Details
-
runIx
-
getRunIx
Deterministic zero-based expansion index, stable across shards and ranking. minimum: 0- Returns:
- runIx
-
setRunIx
-
rank
-
getRank
Present only in the `ranked` view. minimum: 1- Returns:
- rank
-
setRank
-
plateauScore
-
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
-
neighbourCount
-
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
-
deflatedSharpe
-
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
-
params
-
getParams
Get params- Returns:
- params
-
setParams
-
sharpe
-
getSharpe
Get sharpe- Returns:
- sharpe
-
setSharpe
-
sortino
-
getSortino
Get sortino- Returns:
- sortino
-
setSortino
-
pnl
-
getPnl
Absolute net PnL in the output currency.- Returns:
- pnl
-
setPnl
-
pnlPct
-
getPnlPct
Same units as `pnlTotalPercent` on the single-run result — percent (0-100 scale).- Returns:
- pnlPct
-
setPnlPct
-
cagr
-
getCagr
Same units as `cagr` on the single-run result — a ratio, not a percent.- Returns:
- cagr
-
setCagr
-
maxDdPct
-
getMaxDdPct
Same units as `maxDrawdownPercent` on the single-run result — percent (0-100 scale).- Returns:
- maxDdPct
-
setMaxDdPct
-
trades
-
getTrades
Get trades- Returns:
- trades
-
setTrades
-
winRate
-
getWinRate
Same units as `winRate` on the single-run result — a fraction, 0.0-1.0 (a rate, not a percent).- Returns:
- winRate
-
setWinRate
-
belowTradeFloor
-
getBelowTradeFloor
Get belowTradeFloor- Returns:
- belowTradeFloor
-
setBelowTradeFloor
-
aborted
-
getAborted
Get aborted- Returns:
- aborted
-
setAborted
-
runtimeMs
-
getRuntimeMs
Get runtimeMs- Returns:
- runtimeMs
-
setRuntimeMs
-
equityCurve
-
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
-
equals
Return true if this SweepRunRow object is equal to o. -
hashCode
public int hashCode() -
toString
-
toUrlQueryString
Convert the instance into URL query string.- Returns:
- URL query string
-
toUrlQueryString
Convert the instance into URL query string.- Parameters:
prefix- prefix of the query string- Returns:
- URL query string
-