Skip to main content

CreateHyperoptInput

Input for creating a new hyperopt run

input CreateHyperoptInput {
ownerID: String!
strategyID: ID!
runnerID: ID!
epochs: Int
spaces: [String!]
lossFunction: String
config: Map
startDate: Time
endDate: Time
}

Fields

CreateHyperoptInput.ownerID ● String! non-null scalar

Organization that owns the strategy (used for feature gating and billing)

CreateHyperoptInput.strategyID ● ID! non-null scalar

Strategy to optimize

CreateHyperoptInput.runnerID ● ID! non-null scalar

Runner to execute hyperopt on

CreateHyperoptInput.epochs ● Int scalar

Number of optimization epochs (default: 100)

CreateHyperoptInput.spaces ● [String!] list scalar

Spaces to optimize (e.g., buy, sell, roi, stoploss, trailing)

CreateHyperoptInput.lossFunction ● String scalar

Loss function to use (default: SharpeHyperOptLoss)

CreateHyperoptInput.config ● Map scalar

Hyperopt configuration overrides (exchange, pairs, timeframe, etc.)

CreateHyperoptInput.startDate ● Time scalar

Start date for timerange

CreateHyperoptInput.endDate ● Time scalar

End date for timerange

Member Of

hyperoptDataAvailability query ● runHyperopt mutation