Skip to main content

BotPreflightResult

Verdict from running freqtrade show-config in a sandbox against the bot's would-be configuration. Returned by validateBotConfig. Transient — no backing DB table.

type BotPreflightResult {
valid: Boolean!
message: String!
output: String!
durationMs: Int!
cached: Boolean!
}

Fields

BotPreflightResult.valid ● Boolean! non-null scalar

True when Freqtrade accepted the merged config.

BotPreflightResult.message ● String! non-null scalar

One-line summary for the UI header. Empty when valid is true. Example: "Freqtrade rejected the configuration. See details below."

BotPreflightResult.output ● String! non-null scalar

Raw stderr/stdout snippet from the Freqtrade sandbox, truncated to 8 KiB. Empty for a valid verdict; shown beneath message for invalid verdicts so the user sees the ACTUAL error, not a summarised one.

BotPreflightResult.durationMs ● Int! non-null scalar

Wall-clock duration of the underlying check (cache hits report ~0).

BotPreflightResult.cached ● Boolean! non-null scalar

True when this verdict came from the in-memory result cache.

Returned By

validateBotConfig mutation ● validateBotConfigInput mutation