Package com.qtsurfer.api.client.model
Class EquityCurveOptions
java.lang.Object
com.qtsurfer.api.client.model.EquityCurveOptions
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.14.0")
public class EquityCurveOptions
extends Object
Requested equity-curve transform, applied server-side in a fixed pipeline order: `resample` (point count) then `differential` (encoding) then `outMode` (JSON shape) — each stage assumes the previous one already ran. A server-side size guard can still force a smaller/deflated shape above its thresholds regardless of what is requested here — see `EquityCurveMeta` for what actually happened.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondifferential(Boolean differential) booleanReturn true if this EquityCurveOptions object is equal to o.Delta-encode both fields from the second (post-resample) point onward.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) voidsetOutMode(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:
-
-
Constructor Details
-
EquityCurveOptions
public EquityCurveOptions()
-
-
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
-
equals
Return true if this EquityCurveOptions 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
-