Package com.qtsurfer.api.client.model
Class StrategySummary
java.lang.Object
com.qtsurfer.api.client.model.StrategySummary
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.14.0")
public class StrategySummary
extends Object
One entry from `GET /strategies` — the same provenance a full `StrategyState` carries (`compiledAt`, `requiredSources`), without its validation state, so listing stays cheap regardless of how many strategies you have registered. Check a specific strategy's validation with `GET /strategy/{strategyId}`.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddRequiredSourcesItem(String requiredSourcesItem) compiledAt(OffsetDateTime compiledAt) booleanReturn true if this StrategySummary object is equal to o.When the live compilation was produced.The market data this strategy needs.Unique identifier for a compiled strategy, derived from the source itself: the same code always yields the same id, for every caller.inthashCode()requiredSources(List<String> requiredSources) voidsetCompiledAt(OffsetDateTime compiledAt) voidsetRequiredSources(List<String> requiredSources) voidsetStrategyId(String strategyId) 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_STRATEGY_ID
- See Also:
-
JSON_PROPERTY_COMPILED_AT
- See Also:
-
JSON_PROPERTY_REQUIRED_SOURCES
- See Also:
-
-
Constructor Details
-
StrategySummary
public StrategySummary()
-
-
Method Details
-
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
-
compiledAt
-
getCompiledAt
When the live compilation was produced.- Returns:
- compiledAt
-
setCompiledAt
-
requiredSources
-
addRequiredSourcesItem
-
getRequiredSources
The market data this strategy needs. Absent, not empty, when it could not be established without constructing the strategy.- Returns:
- requiredSources
-
setRequiredSources
-
equals
Return true if this StrategySummary 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
-