RLStrategyTemplate
A ready-to-fork code-mode RL strategy template (the Release-1 "ready models"). Bound to the freqai.StrategyTemplate domain type (ADR-0066 — server-owned). The neutral scaffold has an empty modelType; each preset is tuned for a curated algorithm. Each template trains inline when backtested/run.
type RLStrategyTemplate {
name: String!
description: String!
code: String!
modelType: String!
timeframe: String!
}
Fields
RLStrategyTemplate.name ● String! non-null scalar
Human-readable strategy/template name.
RLStrategyTemplate.description ● String! non-null scalar
One-line summary for the preset picker.
RLStrategyTemplate.code ● String! non-null scalar
The full Freqtrade strategy Python source the picker seeds into the editor.
RLStrategyTemplate.modelType ● String! non-null scalar
The curated RL algorithm this template is tuned for (catalogue ID, e.g. "PPO"). Empty for the neutral scaffold.
RLStrategyTemplate.timeframe ● String! non-null scalar
The strategy's declared base timeframe (e.g. "1h" for the PPO preset). The
frontend aligns the seeded strategy's config base timeframe to this so the
strategy's timeframe and the freqai include_timeframes stay consistent
(Freqtrade requires main timeframe ≤ include_timeframes).
Returned By
rlStrategyPresets query