Package com.qtsurfer.api.client.model
Class EquityCurveRequest
java.lang.Object
com.qtsurfer.api.client.model.EquityCurveRequest
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.14.0")
public class EquityCurveRequest
extends Object
Selection (`mode`/`n`/`maxPct`) plus the transform preference (`resample`/`differential`/`outMode`) applied by `GET .../equityCurve` whenever ITS OWN query params are absent, for a curve this sweep retained. The transform half never affects retention or `sweepId` — a caller can always override it per-request at read time regardless of what was submitted here.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumWhich trials keep their per-point equity curve. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondifferential(Boolean differential) booleanReturn true if this EquityCurveRequest object is equal to o.Delta-encode both fields from the second (post-resample) point onward.Top percentage of trials to retain when mode is topPct.getMode()Which trials keep their per-point equity curve.getN()Trial count to retain when mode is topN.Requested JSON shape.Downsample to at most this many points (extrema-preserving — the global max/min and the exact first/last point are always kept).inthashCode()outMode(EquityCurveOutMode outMode) voidsetDifferential(Boolean differential) voidvoidvoidvoidsetOutMode(EquityCurveOutMode outMode) voidsetResample(Integer resample) toString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_RESAMPLE
- See Also:
-
JSON_PROPERTY_DIFFERENTIAL
- See Also:
-
JSON_PROPERTY_OUT_MODE
- See Also:
-
JSON_PROPERTY_MODE
- See Also:
-
JSON_PROPERTY_N
- See Also:
-
JSON_PROPERTY_MAX_PCT
- See Also:
-
-
Constructor Details
-
EquityCurveRequest
public EquityCurveRequest()
-
-
Method Details
-
resample
-
getResample
Downsample to at most this many points (extrema-preserving — the global max/min and the exact first/last point are always kept). Omit for no downsampling. minimum: 2- Returns:
- resample
-
setResample
-
differential
-
getDifferential
Delta-encode both fields from the second (post-resample) point onward.- Returns:
- differential
-
setDifferential
-
outMode
-
getOutMode
Requested JSON shape.- Returns:
- outMode
-
setOutMode
-
mode
-
getMode
Which trials keep their per-point equity curve. `auto` retains curves only while the accumulated size stays within server limits; `topN`/`topPct` retain curves for the best-ranked trials explicitly; `none` retains no curves.- Returns:
- mode
-
setMode
-
n
-
getN
Trial count to retain when mode is topN. minimum: 1- Returns:
- n
-
setN
-
maxPct
-
getMaxPct
Top percentage of trials to retain when mode is topPct. maximum: 100- Returns:
- maxPct
-
setMaxPct
-
equals
Return true if this EquityCurveRequest 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
-