Package com.qtsurfer.api.client.model
Class ExecuteBacktestRequest
java.lang.Object
com.qtsurfer.api.client.model.ExecuteBacktestRequest
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.14.0")
public class ExecuteBacktestRequest
extends Object
ExecuteBacktestRequest
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbaseConfig(SweepBaseConfig baseConfig) booleanReturn true if this executeBacktest_request object is equal to o.equityCurve(EquityCurveOptions equityCurve) Capital/fee/position-size overrides for this one run — the same shape `executeSweep`'s `baseConfig` accepts.Get equityCurveStrategy properties to apply to this run.Job ID returned by `POST /prepare` (must be in `Completed` state)When true, the worker uploads emitted signals to object storage and the response includes `signalsUrl` / `signalsId` fields.Unique identifier for a compiled strategy, derived from the source itself: the same code always yields the same id, for every caller.inthashCode()params(Map<String, ScalarStrategyParamValue> params) prepareJobId(String prepareJobId) putParamsItem(String key, ScalarStrategyParamValue paramsItem) voidsetBaseConfig(SweepBaseConfig baseConfig) voidsetEquityCurve(EquityCurveOptions equityCurve) voidsetParams(Map<String, ScalarStrategyParamValue> params) voidsetPrepareJobId(String prepareJobId) voidsetStoreSignals(Boolean storeSignals) voidsetStrategyId(String strategyId) storeSignals(Boolean storeSignals) strategyId(String strategyId) toString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_PREPARE_JOB_ID
- See Also:
-
JSON_PROPERTY_STRATEGY_ID
- See Also:
-
JSON_PROPERTY_STORE_SIGNALS
- See Also:
-
JSON_PROPERTY_EQUITY_CURVE
- See Also:
-
JSON_PROPERTY_BASE_CONFIG
- See Also:
-
JSON_PROPERTY_PARAMS
- See Also:
-
-
Constructor Details
-
ExecuteBacktestRequest
public ExecuteBacktestRequest()
-
-
Method Details
-
prepareJobId
-
getPrepareJobId
Job ID returned by `POST /prepare` (must be in `Completed` state)- Returns:
- prepareJobId
-
setPrepareJobId
-
strategyId
-
getStrategyId
Unique identifier for a compiled strategy, derived from the source itself: the same code always yields the same id, for every caller. How much formatting the id ignores depends on the language — see `POST /strategy` for exactly which rewrites preserve it and which do not.- Returns:
- strategyId
-
setStrategyId
-
storeSignals
-
getStoreSignals
When true, the worker uploads emitted signals to object storage and the response includes `signalsUrl` / `signalsId` fields. Defaults to false.- Returns:
- storeSignals
-
setStoreSignals
-
equityCurve
-
getEquityCurve
Get equityCurve- Returns:
- equityCurve
-
setEquityCurve
-
baseConfig
-
getBaseConfig
Capital/fee/position-size overrides for this one run — the same shape `executeSweep`'s `baseConfig` accepts. Omit to run at the platform defaults (`initialFunding: 100`, `feeRate: 0.001`). `buyFeeRate`/`sellFeeRate`/`feeLeg` are accepted for shape compatibility with a sweep's `baseConfig`, but this endpoint has one fee-rate slot: a value that implies asymmetric buy/sell fees, or a non-default `feeLeg`, is rejected with `400`.- Returns:
- baseConfig
-
setBaseConfig
-
params
-
putParamsItem
-
getParams
Strategy properties to apply to this run. Omit to run the strategy's declared defaults, which is exactly what a request without this field has always done. Each key is the `name` declared on the strategy's `@StrategyProperty`, which need NOT match the Java field it annotates — `GET`/`POST /strategy` returns `declaredProperties` for precisely this. A key naming no declared property is rejected: the job fails with the list of names the strategy does declare, rather than completing at the defaults and handing back a plausible result for parameters nobody chose. Scalars only — number, string or boolean. Ranges and lists belong to `executeSweep`; one request here is one run. `null` is not a value: leave the key out to keep a property at its default. Keys are made of letters, digits, `_`, `-` and dots, and may not be `strategyId`, `storeSignals`, `equityCurve`, `backtestEnabled` or `backtestFakeExecution` — those configure the job rather than the strategy.- Returns:
- params
-
setParams
-
equals
Return true if this executeBacktest_request 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
-