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.24.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) deletedAt(OffsetDateTime deletedAt) booleanReturn true if this StrategySummary object is equal to o.When the live compilation was produced.When you deleted this strategy.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) voidsetDeletedAt(OffsetDateTime deletedAt) 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:
-
JSON_PROPERTY_DELETED_AT
- 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
-
deletedAt
-
getDeletedAt
When you deleted this strategy. Only ever present in `GET /strategies?includeDeleted=true`, and only on strategies you have deleted.- Returns:
- deletedAt
-
setDeletedAt
-
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
-