Overview
Strategies define the logic for automated trading. They combine technical indicators with entry/exit rules to generate buy and sell signals.Creating a Strategy
Create a strategy with base parameters:Response
Templates
Templates provide pre-configured strategy types (e.g.,BbandRsi, MacdCrossover). When you assign a templateId, the template’s values propagate to the strategy on the first patch only.
List Templates
Response
Apply Template with Indicators
Patching withtemplateId + indicators generates the strategy file and sets configured: true:
Response
Once
configured: true, subsequent patches will not re-apply template values. You can freely tune interval, stoploss, and other fields without overwrite.Updating Parameters
After initial configuration, tune strategy parameters independently:Protections
Protections safeguard against rapid losses. Add them via patch:Backtesting
Test strategy performance against historical data. Requires data download first.Download Data
Run Backtest
Response
Hyperparameter Optimization
Find optimal strategy parameters automatically:AI Generation
Generate a strategy from a natural language prompt:Response

