Skip to main content

StrategyPreset

A curated, ready-to-use non-RL strategy template surfaced by the Create-Strategy template gallery. Selecting a preset seeds a builder_mode='ui' strategy whose populated uiBuilderConfig codegens valid Python and backtests with trades — the cure for the blank-canvas cold start.

type StrategyPreset {
id: String!
name: String!
description: String!
category: String!
keyIndicators: [String!]!
uiBuilderConfig: UIBuilderConfig!
freqtradeConfig: Map!
}

Fields

StrategyPreset.id ● String! non-null scalar

Stable slug (e.g. "rsi-mean-reversion"). Used as the React key and analytics tag.

StrategyPreset.name ● String! non-null scalar

Human-readable display name shown on the gallery card.

StrategyPreset.description ● String! non-null scalar

One-line summary for the gallery card.

StrategyPreset.category ● String! non-null scalar

Grouping label (e.g. "Mean reversion", "Trend following", "Momentum").

StrategyPreset.keyIndicators ● [String!]! non-null scalar

Short list of the indicators the preset uses, shown as chips on the card.

StrategyPreset.uiBuilderConfig ● UIBuilderConfig! non-null object

The complete, populated visual-builder config the frontend seeds into the studio.

StrategyPreset.freqtradeConfig ● Map! non-null scalar

Sensible Freqtrade config (timeframe + risk settings) the frontend merges over its defaults.

Returned By

rlVisualStrategyPresets query ● strategyPresets query