addedInput schema / properties / strategy_params / properties
Added value: +{
+ "allowedTradeDirections": {
+ "description": "Both | Long Only | Short Only",
+ "type": "string"
+ },
+ "closeOnBiasFlip": {
+ "description": "Close open position when market bias flips to the opposite side.",
+ "type": "boolean"
+ },
+ "entryConditions": {
+ "additionalProperties": true,
+ "description": "Nested object with buyConditions and sellConditions lists (each list is ANDed).",
+ "properties": {
+ "buyConditions": {
+ "description": "Conditions that must ALL hold to open a LONG position. Accepts condition objects OR shorthand strings like 'EMA(9) crosses above EMA(21)', 'Price > EMA(50)', 'RSI(14) < 30', 'ADX(14) > 25'.",
+ "items": {
+ "additionalProperties": true,
+ "properties": {
+ "indicator1": {
+ "additionalProperties": true,
+ "description": "Left-hand indicator or {type: 'Price'}.",
+ "properties": {
+ "component": {
+ "description": "MACD: line|signal|hist. Bollinger/KC/DC: upper|middle|lower. RSI/STOCH: line|overbought|oversold (or k|d for STOCH). ADX: adx|plus_di|minus_di. Ichimoku: tenkan|kijun|senkou_a|senkou_b.",
+ "type": "string"
+ },
+ "fastPeriod": {
+ "description": "MACD fast period (default 12).",
+ "type": "integer"
+ },
+ "length": {
+ "description": "Alias for period.",
+ "type": "integer"
+ },
+ "multiplier": {
+ "description": "SuperTrend ATR multiplier (default 3.0).",
+ "type": "number"
+ },
+ "period": {
+ "description": "Indicator period/length (optional when default applies, e.g. RSI/ADX/ATR/STOCH=14, BB/CCI=20, MACD=12, VWAP=0).",
+ "type": "integer"
+ },
+ "priceType": {
+ "description": "close (default) | open | high | low | volume | hl2 | hlc3 | ohlc4",
+ "type": "string"
+ },
+ "shift": {
+ "description": "Bar offset/lookback (0 = current bar, 1 = previous bar).",
+ "type": "integer"
+ },
+ "signalPeriod": {
+ "description": "MACD signal period (default 9).",
+ "type": "integer"
+ },
+ "slowPeriod": {
+ "description": "MACD slow period (default 26).",
+ "type": "integer"
+ },
+ "smoothWindow": {
+ "description": "Stochastic %D smoothing window (default 3).",
+ "type": "integer"
+ },
+ "stdDev": {
+ "description": "Bollinger Bands stdDev (default 2.0).",
+ "type": "number"
+ },
+ "type": {
+ "description": "SMA | EMA | WMA | LWMA | SMMA | VWMA | DEMA | TEMA | HMA | KAMA | RSI | MACD | Bollinger Bands | BB | VWAP | ADX | STOCH | ATR | CCI | WILLR | MFI | OBV | ROC | KC | DC | ICHIMOKU | PSAR | SUPERTREND | Price | Value",
+ "type": "string"
+ },
+ "value": {
+ "description": "Fixed level when type is 'Value' (e.g. RSI below 30 -> 30).",
+ "type": "number"
+ }
+ },
+ "type": "object"
+ },
+ "indicator2": {
+ "additionalProperties": true,
+ "description": "Right-hand indicator, or {type: 'Value', value: N}.",
+ "properties": {
+ "component": {
+ "description": "MACD: line|signal|hist. Bollinger/KC/DC: upper|middle|lower. RSI/STOCH: line|overbought|oversold (or k|d for STOCH). ADX: adx|plus_di|minus_di. Ichimoku: tenkan|kijun|senkou_a|senkou_b.",
+ "type": "string"
+ },
+ "fastPeriod": {
+ "description": "MACD fast period (default 12).",
+ "type": "integer"
+ },
+ "length": {
+ "description": "Alias for period.",
+ "type": "integer"
+ },
+ "multiplier": {
+ "description": "SuperTrend ATR multiplier (default 3.0).",
+ "type": "number"
+ },
+ "period": {
+ "description": "Indicator period/length (optional when default applies, e.g. RSI/ADX/ATR/STOCH=14, BB/CCI=20, MACD=12, VWAP=0).",
+ "type": "integer"
+ },
+ "priceType": {
+ "description": "close (default) | open | high | low | volume | hl2 | hlc3 | ohlc4",
+ "type": "string"
+ },
+ "shift": {
+ "description": "Bar offset/lookback (0 = current bar, 1 = previous bar).",
+ "type": "integer"
+ },
+ "signalPeriod": {
+ "description": "MACD signal period (default 9).",
+ "type": "integer"
+ },
+ "slowPeriod": {
+ "description": "MACD slow period (default 26).",
+ "type": "integer"
+ },
+ "smoothWindow": {
+ "description": "Stochastic %D smoothing window (default 3).",
+ "type": "integer"
+ },
+ "stdDev": {
+ "description": "Bollinger Bands stdDev (default 2.0).",
+ "type": "number"
+ },
+ "type": {
+ "description": "SMA | EMA | WMA | LWMA | SMMA | VWMA | DEMA | TEMA | HMA | KAMA | RSI | MACD | Bollinger Bands | BB | VWAP | ADX | STOCH | ATR | CCI | WILLR | MFI | OBV | ROC | KC | DC | ICHIMOKU | PSAR | SUPERTREND | Price | Value",
+ "type": "string"
+ },
+ "value": {
+ "description": "Fixed level when type is 'Value' (e.g. RSI below 30 -> 30).",
+ "type": "number"
+ }
+ },
+ "type": "object"
+ },
+ "relationship": {
+ "description": "Crosses above | Crosses below | Is above | Is below | Is equal to",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "sellConditions": {
+ "description": "Conditions that must ALL hold to open a SHORT position (not to close a long). Accepts condition objects OR shorthand strings like 'EMA(9) crosses above EMA(21)', 'Price > EMA(50)', 'RSI(14) < 30', 'ADX(14) > 25'.",
+ "items": {
+ "additionalProperties": true,
+ "properties": {
+ "indicator1": {
+ "additionalProperties": true,
+ "description": "Left-hand indicator or {type: 'Price'}.",
+ "properties": {
+ "component": {
+ "description": "MACD: line|signal|hist. Bollinger/KC/DC: upper|middle|lower. RSI/STOCH: line|overbought|oversold (or k|d for STOCH). ADX: adx|plus_di|minus_di. Ichimoku: tenkan|kijun|senkou_a|senkou_b.",
+ "type": "string"
+ },
+ "fastPeriod": {
+ "description": "MACD fast period (default 12).",
+ "type": "integer"
+ },
+ "length": {
+ "description": "Alias for period.",
+ "type": "integer"
+ },
+ "multiplier": {
+ "description": "SuperTrend ATR multiplier (default 3.0).",
+ "type": "number"
+ },
+ "period": {
+ "description": "Indicator period/length (optional when default applies, e.g. RSI/ADX/ATR/STOCH=14, BB/CCI=20, MACD=12, VWAP=0).",
+ "type": "integer"
+ },
+ "priceType": {
+ "description": "close (default) | open | high | low | volume | hl2 | hlc3 | ohlc4",
+ "type": "string"
+ },
+ "shift": {
+ "description": "Bar offset/lookback (0 = current bar, 1 = previous bar).",
+ "type": "integer"
+ },
+ "signalPeriod": {
+ "description": "MACD signal period (default 9).",
+ "type": "integer"
+ },
+ "slowPeriod": {
+ "description": "MACD slow period (default 26).",
+ "type": "integer"
+ },
+ "smoothWindow": {
+ "description": "Stochastic %D smoothing window (default 3).",
+ "type": "integer"
+ },
+ "stdDev": {
+ "description": "Bollinger Bands stdDev (default 2.0).",
+ "type": "number"
+ },
+ "type": {
+ "description": "SMA | EMA | WMA | LWMA | SMMA | VWMA | DEMA | TEMA | HMA | KAMA | RSI | MACD | Bollinger Bands | BB | VWAP | ADX | STOCH | ATR | CCI | WILLR | MFI | OBV | ROC | KC | DC | ICHIMOKU | PSAR | SUPERTREND | Price | Value",
+ "type": "string"
+ },
+ "value": {
+ "description": "Fixed level when type is 'Value' (e.g. RSI below 30 -> 30).",
+ "type": "number"
+ }
+ },
+ "type": "object"
+ },
+ "indicator2": {
+ "additionalProperties": true,
+ "description": "Right-hand indicator, or {type: 'Value', value: N}.",
+ "properties": {
+ "component": {
+ "description": "MACD: line|signal|hist. Bollinger/KC/DC: upper|middle|lower. RSI/STOCH: line|overbought|oversold (or k|d for STOCH). ADX: adx|plus_di|minus_di. Ichimoku: tenkan|kijun|senkou_a|senkou_b.",
+ "type": "string"
+ },
+ "fastPeriod": {
+ "description": "MACD fast period (default 12).",
+ "type": "integer"
+ },
+ "length": {
+ "description": "Alias for period.",
+ "type": "integer"
+ },
+ "multiplier": {
+ "description": "SuperTrend ATR multiplier (default 3.0).",
+ "type": "number"
+ },
+ "period": {
+ "description": "Indicator period/length (optional when default applies, e.g. RSI/ADX/ATR/STOCH=14, BB/CCI=20, MACD=12, VWAP=0).",
+ "type": "integer"
+ },
+ "priceType": {
+ "description": "close (default) | open | high | low | volume | hl2 | hlc3 | ohlc4",
+ "type": "string"
+ },
+ "shift": {
+ "description": "Bar offset/lookback (0 = current bar, 1 = previous bar).",
+ "type": "integer"
+ },
+ "signalPeriod": {
+ "description": "MACD signal period (default 9).",
+ "type": "integer"
+ },
+ "slowPeriod": {
+ "description": "MACD slow period (default 26).",
+ "type": "integer"
+ },
+ "smoothWindow": {
+ "description": "Stochastic %D smoothing window (default 3).",
+ "type": "integer"
+ },
+ "stdDev": {
+ "description": "Bollinger Bands stdDev (default 2.0).",
+ "type": "number"
+ },
+ "type": {
+ "description": "SMA | EMA | WMA | LWMA | SMMA | VWMA | DEMA | TEMA | HMA | KAMA | RSI | MACD | Bollinger Bands | BB | VWAP | ADX | STOCH | ATR | CCI | WILLR | MFI | OBV | ROC | KC | DC | ICHIMOKU | PSAR | SUPERTREND | Price | Value",
+ "type": "string"
+ },
+ "value": {
+ "description": "Fixed level when type is 'Value' (e.g. RSI below 30 -> 30).",
+ "type": "number"
+ }
+ },
+ "type": "object"
+ },
+ "relationship": {
+ "description": "Crosses above | Crosses below | Is above | Is below | Is equal to",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "exitConditions": {
+ "additionalProperties": true,
+ "description": "Optional indicator exits (each list is ORed: any met condition closes).",
+ "properties": {
+ "buyExitConditions": {
+ "description": "Close an open LONG when ANY of these holds. Accepts condition objects OR shorthand strings like 'EMA(9) crosses above EMA(21)', 'Price > EMA(50)', 'RSI(14) < 30', 'ADX(14) > 25'.",
+ "items": {
+ "additionalProperties": true,
+ "properties": {
+ "indicator1": {
+ "additionalProperties": true,
+ "description": "Left-hand indicator or {type: 'Price'}.",
+ "properties": {
+ "component": {
+ "description": "MACD: line|signal|hist. Bollinger/KC/DC: upper|middle|lower. RSI/STOCH: line|overbought|oversold (or k|d for STOCH). ADX: adx|plus_di|minus_di. Ichimoku: tenkan|kijun|senkou_a|senkou_b.",
+ "type": "string"
+ },
+ "fastPeriod": {
+ "description": "MACD fast period (default 12).",
+ "type": "integer"
+ },
+ "length": {
+ "description": "Alias for period.",
+ "type": "integer"
+ },
+ "multiplier": {
+ "description": "SuperTrend ATR multiplier (default 3.0).",
+ "type": "number"
+ },
+ "period": {
+ "description": "Indicator period/length (optional when default applies, e.g. RSI/ADX/ATR/STOCH=14, BB/CCI=20, MACD=12, VWAP=0).",
+ "type": "integer"
+ },
+ "priceType": {
+ "description": "close (default) | open | high | low | volume | hl2 | hlc3 | ohlc4",
+ "type": "string"
+ },
+ "shift": {
+ "description": "Bar offset/lookback (0 = current bar, 1 = previous bar).",
+ "type": "integer"
+ },
+ "signalPeriod": {
+ "description": "MACD signal period (default 9).",
+ "type": "integer"
+ },
+ "slowPeriod": {
+ "description": "MACD slow period (default 26).",
+ "type": "integer"
+ },
+ "smoothWindow": {
+ "description": "Stochastic %D smoothing window (default 3).",
+ "type": "integer"
+ },
+ "stdDev": {
+ "description": "Bollinger Bands stdDev (default 2.0).",
+ "type": "number"
+ },
+ "type": {
+ "description": "SMA | EMA | WMA | LWMA | SMMA | VWMA | DEMA | TEMA | HMA | KAMA | RSI | MACD | Bollinger Bands | BB | VWAP | ADX | STOCH | ATR | CCI | WILLR | MFI | OBV | ROC | KC | DC | ICHIMOKU | PSAR | SUPERTREND | Price | Value",
+ "type": "string"
+ },
+ "value": {
+ "description": "Fixed level when type is 'Value' (e.g. RSI below 30 -> 30).",
+ "type": "number"
+ }
+ },
+ "type": "object"
+ },
+ "indicator2": {
+ "additionalProperties": true,
+ "description": "Right-hand indicator, or {type: 'Value', value: N}.",
+ "properties": {
+ "component": {
+ "description": "MACD: line|signal|hist. Bollinger/KC/DC: upper|middle|lower. RSI/STOCH: line|overbought|oversold (or k|d for STOCH). ADX: adx|plus_di|minus_di. Ichimoku: tenkan|kijun|senkou_a|senkou_b.",
+ "type": "string"
+ },
+ "fastPeriod": {
+ "description": "MACD fast period (default 12).",
+ "type": "integer"
+ },
+ "length": {
+ "description": "Alias for period.",
+ "type": "integer"
+ },
+ "multiplier": {
+ "description": "SuperTrend ATR multiplier (default 3.0).",
+ "type": "number"
+ },
+ "period": {
+ "description": "Indicator period/length (optional when default applies, e.g. RSI/ADX/ATR/STOCH=14, BB/CCI=20, MACD=12, VWAP=0).",
+ "type": "integer"
+ },
+ "priceType": {
+ "description": "close (default) | open | high | low | volume | hl2 | hlc3 | ohlc4",
+ "type": "string"
+ },
+ "shift": {
+ "description": "Bar offset/lookback (0 = current bar, 1 = previous bar).",
+ "type": "integer"
+ },
+ "signalPeriod": {
+ "description": "MACD signal period (default 9).",
+ "type": "integer"
+ },
+ "slowPeriod": {
+ "description": "MACD slow period (default 26).",
+ "type": "integer"
+ },
+ "smoothWindow": {
+ "description": "Stochastic %D smoothing window (default 3).",
+ "type": "integer"
+ },
+ "stdDev": {
+ "description": "Bollinger Bands stdDev (default 2.0).",
+ "type": "number"
+ },
+ "type": {
+ "description": "SMA | EMA | WMA | LWMA | SMMA | VWMA | DEMA | TEMA | HMA | KAMA | RSI | MACD | Bollinger Bands | BB | VWAP | ADX | STOCH | ATR | CCI | WILLR | MFI | OBV | ROC | KC | DC | ICHIMOKU | PSAR | SUPERTREND | Price | Value",
+ "type": "string"
+ },
+ "value": {
+ "description": "Fixed level when type is 'Value' (e.g. RSI below 30 -> 30).",
+ "type": "number"
+ }
+ },
+ "type": "object"
+ },
+ "relationship": {
+ "description": "Crosses above | Crosses below | Is above | Is below | Is equal to",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "sellExitConditions": {
+ "description": "Close an open SHORT when ANY of these holds. Accepts condition objects OR shorthand strings like 'EMA(9) crosses above EMA(21)', 'Price > EMA(50)', 'RSI(14) < 30', 'ADX(14) > 25'.",
+ "items": {
+ "additionalProperties": true,
+ "properties": {
+ "indicator1": {
+ "additionalProperties": true,
+ "description": "Left-hand indicator or {type: 'Price'}.",
+ "properties": {
+ "component": {
+ "description": "MACD: line|signal|hist. Bollinger/KC/DC: upper|middle|lower. RSI/STOCH: line|overbought|oversold (or k|d for STOCH). ADX: adx|plus_di|minus_di. Ichimoku: tenkan|kijun|senkou_a|senkou_b.",
+ "type": "string"
+ },
+ "fastPeriod": {
+ "description": "MACD fast period (default 12).",
+ "type": "integer"
+ },
+ "length": {
+ "description": "Alias for period.",
+ "type": "integer"
+ },
+ "multiplier": {
+ "description": "SuperTrend ATR multiplier (default 3.0).",
+ "type": "number"
+ },
+ "period": {
+ "description": "Indicator period/length (optional when default applies, e.g. RSI/ADX/ATR/STOCH=14, BB/CCI=20, MACD=12, VWAP=0).",
+ "type": "integer"
+ },
+ "priceType": {
+ "description": "close (default) | open | high | low | volume | hl2 | hlc3 | ohlc4",
+ "type": "string"
+ },
+ "shift": {
+ "description": "Bar offset/lookback (0 = current bar, 1 = previous bar).",
+ "type": "integer"
+ },
+ "signalPeriod": {
+ "description": "MACD signal period (default 9).",
+ "type": "integer"
+ },
+ "slowPeriod": {
+ "description": "MACD slow period (default 26).",
+ "type": "integer"
+ },
+ "smoothWindow": {
+ "description": "Stochastic %D smoothing window (default 3).",
+ "type": "integer"
+ },
+ "stdDev": {
+ "description": "Bollinger Bands stdDev (default 2.0).",
+ "type": "number"
+ },
+ "type": {
+ "description": "SMA | EMA | WMA | LWMA | SMMA | VWMA | DEMA | TEMA | HMA | KAMA | RSI | MACD | Bollinger Bands | BB | VWAP | ADX | STOCH | ATR | CCI | WILLR | MFI | OBV | ROC | KC | DC | ICHIMOKU | PSAR | SUPERTREND | Price | Value",
+ "type": "string"
+ },
+ "value": {
+ "description": "Fixed level when type is 'Value' (e.g. RSI below 30 -> 30).",
+ "type": "number"
+ }
+ },
+ "type": "object"
+ },
+ "indicator2": {
+ "additionalProperties": true,
+ "description": "Right-hand indicator, or {type: 'Value', value: N}.",
+ "properties": {
+ "component": {
+ "description": "MACD: line|signal|hist. Bollinger/KC/DC: upper|middle|lower. RSI/STOCH: line|overbought|oversold (or k|d for STOCH). ADX: adx|plus_di|minus_di. Ichimoku: tenkan|kijun|senkou_a|senkou_b.",
+ "type": "string"
+ },
+ "fastPeriod": {
+ "description": "MACD fast period (default 12).",
+ "type": "integer"
+ },
+ "length": {
+ "description": "Alias for period.",
+ "type": "integer"
+ },
+ "multiplier": {
+ "description": "SuperTrend ATR multiplier (default 3.0).",
+ "type": "number"
+ },
+ "period": {
+ "description": "Indicator period/length (optional when default applies, e.g. RSI/ADX/ATR/STOCH=14, BB/CCI=20, MACD=12, VWAP=0).",
+ "type": "integer"
+ },
+ "priceType": {
+ "description": "close (default) | open | high | low | volume | hl2 | hlc3 | ohlc4",
+ "type": "string"
+ },
+ "shift": {
+ "description": "Bar offset/lookback (0 = current bar, 1 = previous bar).",
+ "type": "integer"
+ },
+ "signalPeriod": {
+ "description": "MACD signal period (default 9).",
+ "type": "integer"
+ },
+ "slowPeriod": {
+ "description": "MACD slow period (default 26).",
+ "type": "integer"
+ },
+ "smoothWindow": {
+ "description": "Stochastic %D smoothing window (default 3).",
+ "type": "integer"
+ },
+ "stdDev": {
+ "description": "Bollinger Bands stdDev (default 2.0).",
+ "type": "number"
+ },
+ "type": {
+ "description": "SMA | EMA | WMA | LWMA | SMMA | VWMA | DEMA | TEMA | HMA | KAMA | RSI | MACD | Bollinger Bands | BB | VWAP | ADX | STOCH | ATR | CCI | WILLR | MFI | OBV | ROC | KC | DC | ICHIMOKU | PSAR | SUPERTREND | Price | Value",
+ "type": "string"
+ },
+ "value": {
+ "description": "Fixed level when type is 'Value' (e.g. RSI below 30 -> 30).",
+ "type": "number"
+ }
+ },
+ "type": "object"
+ },
+ "relationship": {
+ "description": "Crosses above | Crosses below | Is above | Is below | Is equal to",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "indicators": {
+ "description": "List of technical indicators. movingAverages accepted as alias; also auto-inferred from conditions if omitted. Supported types: SMA | EMA | WMA | LWMA | SMMA | VWMA | DEMA | TEMA | HMA | KAMA | RSI | MACD | Bollinger Bands | BB | VWAP | ADX | STOCH | ATR | CCI | WILLR | MFI | OBV | ROC | KC | DC | ICHIMOKU | PSAR | SUPERTREND | Price | Value. Examples: RSI 14; SMA 50 and 200; EMA 12 and 26; MACD; Bollinger 20; ADX 14; VWAP; STOCH 14; ATR 14; SUPERTREND 10. Do not invent EMA 9/21.",
+ "items": {
+ "additionalProperties": true,
+ "properties": {
+ "fastPeriod": {
+ "description": "MACD fast period (default 12).",
+ "type": "integer"
+ },
+ "length": {
+ "description": "Alias for period.",
+ "type": "integer"
+ },
+ "multiplier": {
+ "description": "SuperTrend ATR multiplier (default 3.0).",
+ "type": "number"
+ },
+ "overbought": {
+ "description": "Optional overbought level (default 70 for RSI, 80 for STOCH).",
+ "type": "number"
+ },
+ "oversold": {
+ "description": "Optional oversold level (default 30 for RSI, 20 for STOCH).",
+ "type": "number"
+ },
+ "period": {
+ "description": "Period length (e.g., 14 for RSI/ADX/ATR/STOCH; 20 for BB/CCI; 50/200 SMA; 0 for session VWAP)",
+ "type": "integer"
+ },
+ "priceType": {
+ "description": "close (default) | open | high | low | hl2 | hlc3 | ohlc4",
+ "type": "string"
+ },
+ "shift": {
+ "description": "Optional bar shift (default 0).",
+ "type": "integer"
+ },
+ "signalPeriod": {
+ "description": "MACD signal period (default 9).",
+ "type": "integer"
+ },
+ "slowPeriod": {
+ "description": "MACD slow period (default 26).",
+ "type": "integer"
+ },
+ "smoothWindow": {
+ "description": "Stochastic %D smoothing period (default 3).",
+ "type": "integer"
+ },
+ "stdDev": {
+ "description": "Bollinger Bands standard deviation (default 2.0).",
+ "type": "number"
+ },
+ "type": {
+ "description": "Indicator type (SMA | EMA | WMA | LWMA | SMMA | VWMA | DEMA | TEMA | HMA | KAMA | RSI | MACD | Bollinger Bands | BB | VWAP | ADX | STOCH | ATR | CCI | WILLR | MFI | OBV | ROC | KC | DC | ICHIMOKU | PSAR | SUPERTREND | Price | Value)",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "risk": {
+ "additionalProperties": true,
+ "description": "Risk & position management settings.",
+ "properties": {
+ "allowPyramiding": {
+ "description": "Allow multiple entries in the same direction.",
+ "type": "boolean"
+ },
+ "capitalAllocation": {
+ "description": "Default USD capital allocation.",
+ "type": "number"
+ },
+ "maxDrawdown": {
+ "description": "0.5 to 100.0",
+ "type": "number"
+ },
+ "maxPyramidPositions": {
+ "description": "Max pyramid positions (default 3).",
+ "type": "integer"
+ },
+ "riskPercentage": {
+ "description": "0.1 to 100.0",
+ "type": "number"
+ },
+ "stopLossPercentage": {
+ "description": "0.1 to 50.0",
+ "type": "number"
+ },
+ "takeProfitPercentage": {
+ "description": "0.1 to 100.0",
+ "type": "number"
+ },
+ "trailingStopAmount": {
+ "description": "Trailing stop percentage (0.1 to 50.0).",
+ "type": "number"
+ },
+ "trailingStopEnabled": {
+ "description": "Enable trailing stop.",
+ "type": "boolean"
+ }
+ },
+ "type": "object"
+ },
+ "strategy_type": {
+ "description": "Strategy type matching the user's chosen indicators (RSI_OVERSOLD_OVERBOUGHT, MA_CROSSOVER, MACD, BOLLINGER_BANDS, CUSTOM). No default — set from the specified strategy; do not invent MA_CROSSOVER.",
+ "type": "string"
+ }
+}