Skip to main content
Glama

Create and Start Algorithm

create_and_start_algo
Destructive

Create algo + instance + start live trading on broker_account_id (account_ref from list_brokers; prefer paper/demo). Use the strategy the user (or this conversation) specified. If indicators/entry conditions were not specified, ASK — do NOT invent EMA 9/21 or any favorite indicator pair. Only pick a concrete template when the user explicitly invites you (e.g. 'you pick', 'surprise me'); then prefer diverse types such as RSI(14), MACD, SMA 50/200, or EMA 12/26 — never always the same MA pair. Ask for capital_allocation; keep cumulative live capital ≤ policy max_total_capital. Prefer user risk numbers in strategy_params.risk; optional risk_preset otherwise. First call confirm_allocation=false; after user OK retry confirm_allocation=true. On success present Instance Setup Details.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "symbols": "<symbols>",
      "timeframe": "<timeframe>",
      "broker_account_id": "<broker_account_id>",
      "capital_allocation": "<capital_allocation>"
    },
    "name": "create_and_start_algo"
  }
}

Input Schema

NameRequiredDescriptionDefault
riskNoOptional explicit risk: stopLossPercentage, takeProfitPercentage, riskPercentage, maxDrawdown. Overrides risk_preset when complete.
symbolsYesList of tickers to trade (e.g. ['BTC-USD'])
algo_nameNoOptional algorithm name (`name` also accepted). If omitted, one is generated as SYMBOL_TIMEFRAME_STRATEGY, e.g. XAUUSD_1M_MACD.
timeframeYesStrategy timeframe (e.g., '1m', '5m', '1h')
indicatorsNoOptional top-level indicators list or comma-separated shorthand string (e.g. 'EMA(9), EMA(21), EMA(50), RSI(14), ADX(14), VWAP, MACD(12,26,9), BB(20,2), STOCH(14,3), ATR(14), SUPERTREND(10,3)'). Also auto-extracted from buy_conditions / sell_conditions.
asset_classNoOptional asset class: Stocks | Stock Options | Futures | Futures Options | Forex | Crypto Spot | Crypto Futures.
option_typeNoFor Stock Options / Futures Options: Call | Put | Both (Both buys Call on LONG signal, Put on SHORT signal).
risk_presetNoOptional shortcut: conservative | moderate | aggressive. Skip if strategy_params.risk has full custom numbers.
max_drawdownNoOptional top-level max drawdown % (0.5 to 100.0).
instance_nameNoOptional custom name for the started trading instance
risk_advancedNoOptional if user wants advanced: trailingStopEnabled, trailingStopAmount, allowPyramiding, maxPyramidPositions
strategy_typeNoOptional top-level strategy type (CUSTOM, MA_CROSSOVER, RSI_OVERSOLD_OVERBOUGHT, MACD, BOLLINGER_BANDS) if not inside strategy_params.
buy_conditionsNoOptional top-level LONG entry conditions (ANDed). Accepts condition dicts or shorthand strings such as ['Price > EMA(50)', 'EMA(9) crosses above EMA(21)', 'RSI(14) < 40', 'ADX(14) > 20'] or 'Price > EMA(50) AND EMA(9) crosses above EMA(21)'.
risk_percentageNoOptional top-level risk % per trade (0.1 to 100.0).
sell_conditionsNoOptional top-level SHORT entry conditions (ANDed; opens a short, does not close a long). Accepts condition dicts or shorthand strings such as ['Price < EMA(50)', 'EMA(9) crosses below EMA(21)'].
strategy_paramsNoFull strategy block (accepts nested object OR JSON string, or you can pass flat top-level fields on create_algo): { strategy_type: 'RSI_OVERSOLD_OVERBOUGHT' | 'MA_CROSSOVER' | 'MACD' | 'BOLLINGER_BANDS' | 'CUSTOM', indicators: [{type: 'SMA'|'EMA'|'WMA'|'LWMA'|'SMMA'|'VWMA'|'DEMA'|'TEMA'|'HMA'|'KAMA'|'RSI'|'MACD'|'Bollinger Bands'|'VWAP'|'ADX'|'STOCH'|'ATR'|'CCI'|'WILLR'|'MFI'|'OBV'|'ROC'|'KC'|'DC'|'ICHIMOKU'|'PSAR'|'SUPERTREND', period?: number}], entryConditions: { buyConditions: [{indicator1: {type, period, component?}, relationship: 'Crosses above'|'Crosses below'|'Is above'|'Is below'|'Is equal to', indicator2: {type, period, component?} OR {type: 'Value', value: 30}}], sellConditions: [...] }, exitConditions: {buyExitConditions: [...], sellExitConditions: [...]} (optional), risk: {stopLossPercentage, takeProfitPercentage, riskPercentage, maxDrawdown, trailingStopEnabled, trailingStopAmount, allowPyramiding, maxPyramidPositions}, closeOnBiasFlip: boolean (optional) }. buyConditions open a LONG; sellConditions open a SHORT (they do NOT close a long — use exitConditions.buyExitConditions to close longs). Entry conditions are ANDed; exit conditions are ORed. MACD operands take component 'line'|'signal'|'hist'; Bollinger/KC/DC operands take component 'upper'|'middle'|'lower'; ADX takes 'adx'|'plus_di'|'minus_di'; STOCH takes 'k'|'d'; Ichimoku takes 'tenkan'|'kijun'|'senkou_a'|'senkou_b'. Use {type: 'Price'} for the bar close (or priceType 'open'|'high'|'low'|'hl2'|'hlc3'|'ohlc4'). At least one of buyConditions or sellConditions must be non-empty. movingAverages is accepted as an alias for indicators. Shorthand strings like 'EMA(9) crosses above EMA(21)' or 'RSI(14) < 30' are also accepted. Example indicator sets (do not default to one): RSI period 14; SMA 50+200; EMA 12+26; MACD; Bollinger length 20; ADX 14; VWAP; Stochastic 14. Never invent EMA 9/21 when unspecified.
trade_directionNoOptional trade direction: Both | Long Only | Short Only.
algo_descriptionNoOptional description of the algorithm
allow_pyramidingNoOptional top-level pyramiding toggle.
option_moneynessNoFor Stock Options / Futures Options: ATM (default) | ITM | OTM.
broker_account_idYesaccount_ref from list_brokers (e.g. "alpaca-paper-93461") for the account the user picked.
capital_allocationYesUSD capital from broker buying power. Ask the user — never invent.
close_on_bias_flipNoOptional top-level close-on-bias-flip toggle.
confirm_allocationNotrue only after the user accepts capital vs live equity and the risk settings.
contract_selectionNoFor Futures: Front Month (default) | Next Month | Highest Volume | Specific Code.
days_to_expirationNoFor Stock Options / Futures Options: target DTE in days (default 30).
buy_exit_conditionsNoOptional top-level LONG exit conditions (ORed: any met condition closes an open LONG).
contracts_per_tradeNoFor Futures / Stock Options / Futures Options: whole number of contracts per trade (default 1).
sell_exit_conditionsNoOptional top-level SHORT exit conditions (ORed: any met condition closes an open SHORT).
stop_loss_percentageNoOptional top-level stop loss % (0.1 to 50.0).
trailing_stop_amountNoOptional top-level trailing stop % (0.1 to 50.0).
max_pyramid_positionsNoOptional top-level max pyramid positions.
trailing_stop_enabledNoOptional top-level trailing stop toggle.
max_price_per_contractNoFor Stock Options / Futures Options: max option premium per contract ($).
take_profit_percentageNoOptional top-level take profit % (0.1 to 100.0).
strike_selection_methodNoFor Stock Options / Futures Options: Closest ATM | Percentage ITM | Percentage OTM | Delta Based.

Output Schema

NameRequiredDescriptionDefault
errorNo
messageNo
successNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / algo_name / description
      Previous value: -"The name of the algorithm strategy"New value: +"Optional algorithm name (`name` also accepted). If omitted, one is generated as SYMBOL_TIMEFRAME_STRATEGY, e.g. XAUUSD_1M_MACD."
    • changedInput schema / required
      Previous value: -[
      -  "algo_name",
      -  "symbols",
      -  "timeframe",
      -  "broker_account_id",
      -  "capital_allocation"
      -]New value: +[
      +  "symbols",
      +  "timeframe",
      +  "broker_account_id",
      +  "capital_allocation"
      +]
  2. Changed172 schema fields changed
    • addedInput schema / properties / allow_pyramiding
      Added value: +{
      +  "description": "Optional top-level pyramiding toggle.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / asset_class
      Added value: +{
      +  "description": "Optional asset class: Stocks | Stock Options | Futures | Futures Options | Forex | Crypto Spot | Crypto Futures.",
      +  "type": "string"
      +}
    • addedInput schema / properties / buy_conditions
      Added value: +{
      +  "description": "Optional top-level LONG entry conditions (ANDed). Accepts condition dicts or shorthand strings such as ['Price > EMA(50)', 'EMA(9) crosses above EMA(21)', 'RSI(14) < 40', 'ADX(14) > 20'] or 'Price > EMA(50) AND EMA(9) crosses above EMA(21)'.",
      +  "items": {
      +    "type": [
      +      "object",
      +      "string"
      +    ]
      +  },
      +  "type": [
      +    "array",
      +    "string"
      +  ]
      +}
    • addedInput schema / properties / buy_exit_conditions
      Added value: +{
      +  "description": "Optional top-level LONG exit conditions (ORed: any met condition closes an open LONG).",
      +  "items": {
      +    "type": [
      +      "object",
      +      "string"
      +    ]
      +  },
      +  "type": [
      +    "array",
      +    "string"
      +  ]
      +}
    • addedInput schema / properties / close_on_bias_flip
      Added value: +{
      +  "description": "Optional top-level close-on-bias-flip toggle.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / contract_selection
      Added value: +{
      +  "description": "For Futures: Front Month (default) | Next Month | Highest Volume | Specific Code.",
      +  "type": "string"
      +}
    • addedInput schema / properties / contracts_per_trade
      Added value: +{
      +  "description": "For Futures / Stock Options / Futures Options: whole number of contracts per trade (default 1).",
      +  "type": "integer"
      +}
    • addedInput schema / properties / days_to_expiration
      Added value: +{
      +  "description": "For Stock Options / Futures Options: target DTE in days (default 30).",
      +  "type": "integer"
      +}
    • addedInput schema / properties / indicators
      Added value: +{
      +  "description": "Optional top-level indicators list or comma-separated shorthand string (e.g. 'EMA(9), EMA(21), EMA(50), RSI(14), ADX(14), VWAP, MACD(12,26,9), BB(20,2), STOCH(14,3), ATR(14), SUPERTREND(10,3)'). Also auto-extracted from buy_conditions / sell_conditions.",
      +  "items": {
      +    "type": [
      +      "object",
      +      "string"
      +    ]
      +  },
      +  "type": [
      +    "array",
      +    "string"
      +  ]
      +}
    • addedInput schema / properties / max_drawdown
      Added value: +{
      +  "description": "Optional top-level max drawdown % (0.5 to 100.0).",
      +  "type": "number"
      +}
    • addedInput schema / properties / max_price_per_contract
      Added value: +{
      +  "description": "For Stock Options / Futures Options: max option premium per contract ($).",
      +  "type": "number"
      +}
    • addedInput schema / properties / max_pyramid_positions
      Added value: +{
      +  "description": "Optional top-level max pyramid positions.",
      +  "type": "integer"
      +}
    • addedInput schema / properties / option_moneyness
      Added value: +{
      +  "description": "For Stock Options / Futures Options: ATM (default) | ITM | OTM.",
      +  "type": "string"
      +}
    • addedInput schema / properties / option_type
      Added value: +{
      +  "description": "For Stock Options / Futures Options: Call | Put | Both (Both buys Call on LONG signal, Put on SHORT signal).",
      +  "type": "string"
      +}
    • addedInput schema / properties / risk_percentage
      Added value: +{
      +  "description": "Optional top-level risk % per trade (0.1 to 100.0).",
      +  "type": "number"
      +}
    • addedInput schema / properties / sell_conditions
      Added value: +{
      +  "description": "Optional top-level SHORT entry conditions (ANDed; opens a short, does not close a long). Accepts condition dicts or shorthand strings such as ['Price < EMA(50)', 'EMA(9) crosses below EMA(21)'].",
      +  "items": {
      +    "type": [
      +      "object",
      +      "string"
      +    ]
      +  },
      +  "type": [
      +    "array",
      +    "string"
      +  ]
      +}
    • addedInput schema / properties / sell_exit_conditions
      Added value: +{
      +  "description": "Optional top-level SHORT exit conditions (ORed: any met condition closes an open SHORT).",
      +  "items": {
      +    "type": [
      +      "object",
      +      "string"
      +    ]
      +  },
      +  "type": [
      +    "array",
      +    "string"
      +  ]
      +}
    • addedInput schema / properties / stop_loss_percentage
      Added value: +{
      +  "description": "Optional top-level stop loss % (0.1 to 50.0).",
      +  "type": "number"
      +}
    • addedInput schema / properties / strategy_params / additionalProperties
      Added value: +true
    • changedInput schema / properties / strategy_params / description
      Previous value: -"Required shape: { strategy_type: 'RSI_OVERSOLD_OVERBOUGHT' | 'MA_CROSSOVER' | 'MACD' | 'BOLLINGER_BANDS' | 'CUSTOM' | ..., indicators: [{type: 'RSI'|'SMA'|'EMA'|'MACD'|..., period: number}], entryConditions: { buyConditions: [{indicator1: {type, period}, relationship: 'Crosses above'|'Crosses below'|'Is above'|'Is below'|'Is equal to', indicator2: {type, period} OR a fixed level {type: 'Value', value: 30}}], sellConditions: [...] }, exitConditions: {buyExitConditions: [...], sellExitConditions: [...]} (optional), risk: {stopLossPercentage, takeProfitPercentage, riskPercentage, maxDrawdown} }. buyConditions open a LONG; sellConditions open a SHORT (they do NOT close a long — use exitConditions.buyExitConditions to close longs). Entry conditions are ANDed; exit conditions are ORed. MACD operands take component 'line'|'signal'|'hist'; Bollinger operands take component 'upper'|'middle'|'lower'. Use {type: 'Price'} for the bar close. At least one of buyConditions or sellConditions must be non-empty. movingAverages is accepted as an alias for indicators. Example indicator sets (do not default to one): RSI period 14; SMA 50+200; EMA 12+26; MACD; Bollinger length 20. Never invent EMA 9/21 when unspecified."New value: +"Full strategy block (accepts nested object OR JSON string, or you can pass flat top-level fields on create_algo): { strategy_type: 'RSI_OVERSOLD_OVERBOUGHT' | 'MA_CROSSOVER' | 'MACD' | 'BOLLINGER_BANDS' | 'CUSTOM', indicators: [{type: 'SMA'|'EMA'|'WMA'|'LWMA'|'SMMA'|'VWMA'|'DEMA'|'TEMA'|'HMA'|'KAMA'|'RSI'|'MACD'|'Bollinger Bands'|'VWAP'|'ADX'|'STOCH'|'ATR'|'CCI'|'WILLR'|'MFI'|'OBV'|'ROC'|'KC'|'DC'|'ICHIMOKU'|'PSAR'|'SUPERTREND', period?: number}], entryConditions: { buyConditions: [{indicator1: {type, period, component?}, relationship: 'Crosses above'|'Crosses below'|'Is above'|'Is below'|'Is equal to', indicator2: {type, period, component?} OR {type: 'Value', value: 30}}], sellConditions: [...] }, exitConditions: {buyExitConditions: [...], sellExitConditions: [...]} (optional), risk: {stopLossPercentage, takeProfitPercentage, riskPercentage, maxDrawdown, trailingStopEnabled, trailingStopAmount, allowPyramiding, maxPyramidPositions}, closeOnBiasFlip: boolean (optional) }. buyConditions open a LONG; sellConditions open a SHORT (they do NOT close a long — use exitConditions.buyExitConditions to close longs). Entry conditions are ANDed; exit conditions are ORed. MACD operands take component 'line'|'signal'|'hist'; Bollinger/KC/DC operands take component 'upper'|'middle'|'lower'; ADX takes 'adx'|'plus_di'|'minus_di'; STOCH takes 'k'|'d'; Ichimoku takes 'tenkan'|'kijun'|'senkou_a'|'senkou_b'. Use {type: 'Price'} for the bar close (or priceType 'open'|'high'|'low'|'hl2'|'hlc3'|'ohlc4'). At least one of buyConditions or sellConditions must be non-empty. movingAverages is accepted as an alias for indicators. Shorthand strings like 'EMA(9) crosses above EMA(21)' or 'RSI(14) < 30' are also accepted. Example indicator sets (do not default to one): RSI period 14; SMA 50+200; EMA 12+26; MACD; Bollinger length 20; ADX 14; VWAP; Stochastic 14. Never invent EMA 9/21 when unspecified."
    • addedInput schema / properties / strategy_params / properties / allowedTradeDirections
      Added value: +{
      +  "description": "Both | Long Only | Short Only",
      +  "type": "string"
      +}
    • addedInput schema / properties / strategy_params / properties / closeOnBiasFlip
      Added value: +{
      +  "description": "Close open position when market bias flips to the opposite side.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / strategy_params / properties / entryConditions / additionalProperties
      Added value: +true
    • changedInput schema / properties / strategy_params / properties / entryConditions / properties / buyConditions / description
      Previous value: -"Conditions that must ALL hold to open a LONG position."New value: +"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'."
    • addedInput schema / properties / strategy_params / properties / entryConditions / properties / buyConditions / items / additionalProperties
      Added value: +true
    • addedInput schema / properties / strategy_params / properties / entryConditions / properties / buyConditions / items / properties / indicator1 / additionalProperties
      Added value: +true
    • changedInput schema / properties / strategy_params / properties / entryConditions / properties / buyConditions / items / properties / indicator1 / description
      Previous value: -"Left-hand indicator."New value: +"Left-hand indicator or {type: 'Price'}."
    • changedInput schema / properties / strategy_params / properties / entryConditions / properties / buyConditions / items / properties / indicator1 / properties / component / description
      Previous value: -"MACD: line|signal|hist. Bollinger: upper|middle|lower. RSI: overbought|oversold (fixed band level)."New value: +"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."
    • addedInput schema / properties / strategy_params / properties / entryConditions / properties / buyConditions / items / properties / indicator1 / properties / fastPeriod
      Added value: +{
      +  "description": "MACD fast period (default 12).",
      +  "type": "integer"
      +}
    • addedInput schema / properties / strategy_params / properties / entryConditions / properties / buyConditions / items / properties / indicator1 / properties / length
      Added value: +{
      +  "description": "Alias for period.",
      +  "type": "integer"
      +}
    • addedInput schema / properties / strategy_params / properties / entryConditions / properties / buyConditions / items / properties / indicator1 / properties / multiplier
      Added value: +{
      +  "description": "SuperTrend ATR multiplier (default 3.0).",
      +  "type": "number"
      +}
    • changedInput schema / properties / strategy_params / properties / entryConditions / properties / buyConditions / items / properties / indicator1 / properties / period / description
      Previous value: -"Indicator period length."New value: +"Indicator period/length (optional when default applies, e.g. RSI/ADX/ATR/STOCH=14, BB/CCI=20, MACD=12, VWAP=0)."
    • changedInput schema / properties / strategy_params / properties / entryConditions / properties / buyConditions / items / properties / indicator1 / properties / priceType / description
      Previous value: -"close (default) | open | high | low | hl2 | hlc3 | ohlc4"New value: +"close (default) | open | high | low | volume | hl2 | hlc3 | ohlc4"
    • addedInput schema / properties / strategy_params / properties / entryConditions / properties / buyConditions / items / properties / indicator1 / properties / shift
      Added value: +{
      +  "description": "Bar offset/lookback (0 = current bar, 1 = previous bar).",
      +  "type": "integer"
      +}
    • addedInput schema / properties / strategy_params / properties / entryConditions / properties / buyConditions / items / properties / indicator1 / properties / signalPeriod
      Added value: +{
      +  "description": "MACD signal period (default 9).",
      +  "type": "integer"
      +}
    • addedInput schema / properties / strategy_params / properties / entryConditions / properties / buyConditions / items / properties / indicator1 / properties / slowPeriod
      Added value: +{
      +  "description": "MACD slow period (default 26).",
      +  "type": "integer"
      +}
    • addedInput schema / properties / strategy_params / properties / entryConditions / properties / buyConditions / items / properties / indicator1 / properties / smoothWindow
      Added value: +{
      +  "description": "Stochastic %D smoothing window (default 3).",
      +  "type": "integer"
      +}
    • addedInput schema / properties / strategy_params / properties / entryConditions / properties / buyConditions / items / properties / indicator1 / properties / stdDev
      Added value: +{
      +  "description": "Bollinger Bands stdDev (default 2.0).",
      +  "type": "number"
      +}
    • changedInput schema / properties / strategy_params / properties / entryConditions / properties / buyConditions / items / properties / indicator1 / properties / type / description
      Previous value: -"SMA | EMA | WMA | SMMA | RSI | MACD | Bollinger Bands | VWAP | Price | Value"New value: +"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"
    • addedInput schema / properties / strategy_params / properties / entryConditions / properties / buyConditions / items / properties / indicator2 / additionalProperties
      Added value: +true
    • changedInput schema / properties / strategy_params / properties / entryConditions / properties / buyConditions / items / properties / indicator2 / properties / component / description
      Previous value: -"MACD: line|signal|hist. Bollinger: upper|middle|lower. RSI: overbought|oversold (fixed band level)."New value: +"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."
    • addedInput schema / properties / strategy_params / properties / entryConditions / properties / buyConditions / items / properties / indicator2 / properties / fastPeriod
      Added value: +{
      +  "description": "MACD fast period (default 12).",
      +  "type": "integer"
      +}
    • addedInput schema / properties / strategy_params / properties / entryConditions / properties / buyConditions / items / properties / indicator2 / properties / length
      Added value: +{
      +  "description": "Alias for period.",
      +  "type": "integer"
      +}
    • addedInput schema / properties / strategy_params / properties / entryConditions / properties / buyConditions / items / properties / indicator2 / properties / multiplier
      Added value: +{
      +  "description": "SuperTrend ATR multiplier (default 3.0).",
      +  "type": "number"
      +}
    • changedInput schema / properties / strategy_params / properties / entryConditions / properties / buyConditions / items / properties / indicator2 / properties / period / description
      Previous value: -"Indicator period length."New value: +"Indicator period/length (optional when default applies, e.g. RSI/ADX/ATR/STOCH=14, BB/CCI=20, MACD=12, VWAP=0)."
    • changedInput schema / properties / strategy_params / properties / entryConditions / properties / buyConditions / items / properties / indicator2 / properties / priceType / description
      Previous value: -"close (default) | open | high | low | hl2 | hlc3 | ohlc4"New value: +"close (default) | open | high | low | volume | hl2 | hlc3 | ohlc4"
    • addedInput schema / properties / strategy_params / properties / entryConditions / properties / buyConditions / items / properties / indicator2 / properties / shift
      Added value: +{
      +  "description": "Bar offset/lookback (0 = current bar, 1 = previous bar).",
      +  "type": "integer"
      +}
    • addedInput schema / properties / strategy_params / properties / entryConditions / properties / buyConditions / items / properties / indicator2 / properties / signalPeriod
      Added value: +{
      +  "description": "MACD signal period (default 9).",
      +  "type": "integer"
      +}
    • addedInput schema / properties / strategy_params / properties / entryConditions / properties / buyConditions / items / properties / indicator2 / properties / slowPeriod
      Added value: +{
      +  "description": "MACD slow period (default 26).",
      +  "type": "integer"
      +}
    • addedInput schema / properties / strategy_params / properties / entryConditions / properties / buyConditions / items / properties / indicator2 / properties / smoothWindow
      Added value: +{
      +  "description": "Stochastic %D smoothing window (default 3).",
      +  "type": "integer"
      +}
    • addedInput schema / properties / strategy_params / properties / entryConditions / properties / buyConditions / items / properties / indicator2 / properties / stdDev
      Added value: +{
      +  "description": "Bollinger Bands stdDev (default 2.0).",
      +  "type": "number"
      +}
    • changedInput schema / properties / strategy_params / properties / entryConditions / properties / buyConditions / items / properties / indicator2 / properties / type / description
      Previous value: -"SMA | EMA | WMA | SMMA | RSI | MACD | Bollinger Bands | VWAP | Price | Value"New value: +"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"
    • changedInput schema / properties / strategy_params / properties / entryConditions / properties / sellConditions / description
      Previous value: -"Conditions that must ALL hold to open a SHORT position (not to close a long)."New value: +"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'."
    • addedInput schema / properties / strategy_params / properties / entryConditions / properties / sellConditions / items / additionalProperties
      Added value: +true
    • addedInput schema / properties / strategy_params / properties / entryConditions / properties / sellConditions / items / properties / indicator1 / additionalProperties
      Added value: +true
    • changedInput schema / properties / strategy_params / properties / entryConditions / properties / sellConditions / items / properties / indicator1 / description
      Previous value: -"Left-hand indicator."New value: +"Left-hand indicator or {type: 'Price'}."
    • changedInput schema / properties / strategy_params / properties / entryConditions / properties / sellConditions / items / properties / indicator1 / properties / component / description
      Previous value: -"MACD: line|signal|hist. Bollinger: upper|middle|lower. RSI: overbought|oversold (fixed band level)."New value: +"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."
    • addedInput schema / properties / strategy_params / properties / entryConditions / properties / sellConditions / items / properties / indicator1 / properties / fastPeriod
      Added value: +{
      +  "description": "MACD fast period (default 12).",
      +  "type": "integer"
      +}
    • addedInput schema / properties / strategy_params / properties / entryConditions / properties / sellConditions / items / properties / indicator1 / properties / length
      Added value: +{
      +  "description": "Alias for period.",
      +  "type": "integer"
      +}
    • addedInput schema / properties / strategy_params / properties / entryConditions / properties / sellConditions / items / properties / indicator1 / properties / multiplier
      Added value: +{
      +  "description": "SuperTrend ATR multiplier (default 3.0).",
      +  "type": "number"
      +}
    • changedInput schema / properties / strategy_params / properties / entryConditions / properties / sellConditions / items / properties / indicator1 / properties / period / description
      Previous value: -"Indicator period length."New value: +"Indicator period/length (optional when default applies, e.g. RSI/ADX/ATR/STOCH=14, BB/CCI=20, MACD=12, VWAP=0)."
    • changedInput schema / properties / strategy_params / properties / entryConditions / properties / sellConditions / items / properties / indicator1 / properties / priceType / description
      Previous value: -"close (default) | open | high | low | hl2 | hlc3 | ohlc4"New value: +"close (default) | open | high | low | volume | hl2 | hlc3 | ohlc4"
    • addedInput schema / properties / strategy_params / properties / entryConditions / properties / sellConditions / items / properties / indicator1 / properties / shift
      Added value: +{
      +  "description": "Bar offset/lookback (0 = current bar, 1 = previous bar).",
      +  "type": "integer"
      +}
    • addedInput schema / properties / strategy_params / properties / entryConditions / properties / sellConditions / items / properties / indicator1 / properties / signalPeriod
      Added value: +{
      +  "description": "MACD signal period (default 9).",
      +  "type": "integer"
      +}
    • addedInput schema / properties / strategy_params / properties / entryConditions / properties / sellConditions / items / properties / indicator1 / properties / slowPeriod
      Added value: +{
      +  "description": "MACD slow period (default 26).",
      +  "type": "integer"
      +}
    • addedInput schema / properties / strategy_params / properties / entryConditions / properties / sellConditions / items / properties / indicator1 / properties / smoothWindow
      Added value: +{
      +  "description": "Stochastic %D smoothing window (default 3).",
      +  "type": "integer"
      +}
    • addedInput schema / properties / strategy_params / properties / entryConditions / properties / sellConditions / items / properties / indicator1 / properties / stdDev
      Added value: +{
      +  "description": "Bollinger Bands stdDev (default 2.0).",
      +  "type": "number"
      +}
    • changedInput schema / properties / strategy_params / properties / entryConditions / properties / sellConditions / items / properties / indicator1 / properties / type / description
      Previous value: -"SMA | EMA | WMA | SMMA | RSI | MACD | Bollinger Bands | VWAP | Price | Value"New value: +"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"
    • addedInput schema / properties / strategy_params / properties / entryConditions / properties / sellConditions / items / properties / indicator2 / additionalProperties
      Added value: +true
    • changedInput schema / properties / strategy_params / properties / entryConditions / properties / sellConditions / items / properties / indicator2 / properties / component / description
      Previous value: -"MACD: line|signal|hist. Bollinger: upper|middle|lower. RSI: overbought|oversold (fixed band level)."New value: +"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."
    • addedInput schema / properties / strategy_params / properties / entryConditions / properties / sellConditions / items / properties / indicator2 / properties / fastPeriod
      Added value: +{
      +  "description": "MACD fast period (default 12).",
      +  "type": "integer"
      +}
    • addedInput schema / properties / strategy_params / properties / entryConditions / properties / sellConditions / items / properties / indicator2 / properties / length
      Added value: +{
      +  "description": "Alias for period.",
      +  "type": "integer"
      +}
    • addedInput schema / properties / strategy_params / properties / entryConditions / properties / sellConditions / items / properties / indicator2 / properties / multiplier
      Added value: +{
      +  "description": "SuperTrend ATR multiplier (default 3.0).",
      +  "type": "number"
      +}
    • changedInput schema / properties / strategy_params / properties / entryConditions / properties / sellConditions / items / properties / indicator2 / properties / period / description
      Previous value: -"Indicator period length."New value: +"Indicator period/length (optional when default applies, e.g. RSI/ADX/ATR/STOCH=14, BB/CCI=20, MACD=12, VWAP=0)."
    • changedInput schema / properties / strategy_params / properties / entryConditions / properties / sellConditions / items / properties / indicator2 / properties / priceType / description
      Previous value: -"close (default) | open | high | low | hl2 | hlc3 | ohlc4"New value: +"close (default) | open | high | low | volume | hl2 | hlc3 | ohlc4"
    • addedInput schema / properties / strategy_params / properties / entryConditions / properties / sellConditions / items / properties / indicator2 / properties / shift
      Added value: +{
      +  "description": "Bar offset/lookback (0 = current bar, 1 = previous bar).",
      +  "type": "integer"
      +}
    • addedInput schema / properties / strategy_params / properties / entryConditions / properties / sellConditions / items / properties / indicator2 / properties / signalPeriod
      Added value: +{
      +  "description": "MACD signal period (default 9).",
      +  "type": "integer"
      +}
    • addedInput schema / properties / strategy_params / properties / entryConditions / properties / sellConditions / items / properties / indicator2 / properties / slowPeriod
      Added value: +{
      +  "description": "MACD slow period (default 26).",
      +  "type": "integer"
      +}
    • addedInput schema / properties / strategy_params / properties / entryConditions / properties / sellConditions / items / properties / indicator2 / properties / smoothWindow
      Added value: +{
      +  "description": "Stochastic %D smoothing window (default 3).",
      +  "type": "integer"
      +}
    • addedInput schema / properties / strategy_params / properties / entryConditions / properties / sellConditions / items / properties / indicator2 / properties / stdDev
      Added value: +{
      +  "description": "Bollinger Bands stdDev (default 2.0).",
      +  "type": "number"
      +}
    • changedInput schema / properties / strategy_params / properties / entryConditions / properties / sellConditions / items / properties / indicator2 / properties / type / description
      Previous value: -"SMA | EMA | WMA | SMMA | RSI | MACD | Bollinger Bands | VWAP | Price | Value"New value: +"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"
    • addedInput schema / properties / strategy_params / properties / exitConditions / additionalProperties
      Added value: +true
    • changedInput schema / properties / strategy_params / properties / exitConditions / properties / buyExitConditions / description
      Previous value: -"Close an open LONG when ANY of these holds."New value: +"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'."
    • addedInput schema / properties / strategy_params / properties / exitConditions / properties / buyExitConditions / items / additionalProperties
      Added value: +true
    • addedInput schema / properties / strategy_params / properties / exitConditions / properties / buyExitConditions / items / properties / indicator1 / additionalProperties
      Added value: +true
    • changedInput schema / properties / strategy_params / properties / exitConditions / properties / buyExitConditions / items / properties / indicator1 / description
      Previous value: -"Left-hand indicator."New value: +"Left-hand indicator or {type: 'Price'}."
    • changedInput schema / properties / strategy_params / properties / exitConditions / properties / buyExitConditions / items / properties / indicator1 / properties / component / description
      Previous value: -"MACD: line|signal|hist. Bollinger: upper|middle|lower. RSI: overbought|oversold (fixed band level)."New value: +"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."
    • addedInput schema / properties / strategy_params / properties / exitConditions / properties / buyExitConditions / items / properties / indicator1 / properties / fastPeriod
      Added value: +{
      +  "description": "MACD fast period (default 12).",
      +  "type": "integer"
      +}
    • addedInput schema / properties / strategy_params / properties / exitConditions / properties / buyExitConditions / items / properties / indicator1 / properties / length
      Added value: +{
      +  "description": "Alias for period.",
      +  "type": "integer"
      +}
    • addedInput schema / properties / strategy_params / properties / exitConditions / properties / buyExitConditions / items / properties / indicator1 / properties / multiplier
      Added value: +{
      +  "description": "SuperTrend ATR multiplier (default 3.0).",
      +  "type": "number"
      +}
    • changedInput schema / properties / strategy_params / properties / exitConditions / properties / buyExitConditions / items / properties / indicator1 / properties / period / description
      Previous value: -"Indicator period length."New value: +"Indicator period/length (optional when default applies, e.g. RSI/ADX/ATR/STOCH=14, BB/CCI=20, MACD=12, VWAP=0)."
    • changedInput schema / properties / strategy_params / properties / exitConditions / properties / buyExitConditions / items / properties / indicator1 / properties / priceType / description
      Previous value: -"close (default) | open | high | low | hl2 | hlc3 | ohlc4"New value: +"close (default) | open | high | low | volume | hl2 | hlc3 | ohlc4"
    • addedInput schema / properties / strategy_params / properties / exitConditions / properties / buyExitConditions / items / properties / indicator1 / properties / shift
      Added value: +{
      +  "description": "Bar offset/lookback (0 = current bar, 1 = previous bar).",
      +  "type": "integer"
      +}
    • addedInput schema / properties / strategy_params / properties / exitConditions / properties / buyExitConditions / items / properties / indicator1 / properties / signalPeriod
      Added value: +{
      +  "description": "MACD signal period (default 9).",
      +  "type": "integer"
      +}
    • addedInput schema / properties / strategy_params / properties / exitConditions / properties / buyExitConditions / items / properties / indicator1 / properties / slowPeriod
      Added value: +{
      +  "description": "MACD slow period (default 26).",
      +  "type": "integer"
      +}
    • addedInput schema / properties / strategy_params / properties / exitConditions / properties / buyExitConditions / items / properties / indicator1 / properties / smoothWindow
      Added value: +{
      +  "description": "Stochastic %D smoothing window (default 3).",
      +  "type": "integer"
      +}
    • addedInput schema / properties / strategy_params / properties / exitConditions / properties / buyExitConditions / items / properties / indicator1 / properties / stdDev
      Added value: +{
      +  "description": "Bollinger Bands stdDev (default 2.0).",
      +  "type": "number"
      +}
    • changedInput schema / properties / strategy_params / properties / exitConditions / properties / buyExitConditions / items / properties / indicator1 / properties / type / description
      Previous value: -"SMA | EMA | WMA | SMMA | RSI | MACD | Bollinger Bands | VWAP | Price | Value"New value: +"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"
    • addedInput schema / properties / strategy_params / properties / exitConditions / properties / buyExitConditions / items / properties / indicator2 / additionalProperties
      Added value: +true
    • changedInput schema / properties / strategy_params / properties / exitConditions / properties / buyExitConditions / items / properties / indicator2 / properties / component / description
      Previous value: -"MACD: line|signal|hist. Bollinger: upper|middle|lower. RSI: overbought|oversold (fixed band level)."New value: +"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."
    • addedInput schema / properties / strategy_params / properties / exitConditions / properties / buyExitConditions / items / properties / indicator2 / properties / fastPeriod
      Added value: +{
      +  "description": "MACD fast period (default 12).",
      +  "type": "integer"
      +}
    • addedInput schema / properties / strategy_params / properties / exitConditions / properties / buyExitConditions / items / properties / indicator2 / properties / length
      Added value: +{
      +  "description": "Alias for period.",
      +  "type": "integer"
      +}
    • addedInput schema / properties / strategy_params / properties / exitConditions / properties / buyExitConditions / items / properties / indicator2 / properties / multiplier
      Added value: +{
      +  "description": "SuperTrend ATR multiplier (default 3.0).",
      +  "type": "number"
      +}
    • changedInput schema / properties / strategy_params / properties / exitConditions / properties / buyExitConditions / items / properties / indicator2 / properties / period / description
      Previous value: -"Indicator period length."New value: +"Indicator period/length (optional when default applies, e.g. RSI/ADX/ATR/STOCH=14, BB/CCI=20, MACD=12, VWAP=0)."
    • changedInput schema / properties / strategy_params / properties / exitConditions / properties / buyExitConditions / items / properties / indicator2 / properties / priceType / description
      Previous value: -"close (default) | open | high | low | hl2 | hlc3 | ohlc4"New value: +"close (default) | open | high | low | volume | hl2 | hlc3 | ohlc4"
    • addedInput schema / properties / strategy_params / properties / exitConditions / properties / buyExitConditions / items / properties / indicator2 / properties / shift
      Added value: +{
      +  "description": "Bar offset/lookback (0 = current bar, 1 = previous bar).",
      +  "type": "integer"
      +}
    • addedInput schema / properties / strategy_params / properties / exitConditions / properties / buyExitConditions / items / properties / indicator2 / properties / signalPeriod
      Added value: +{
      +  "description": "MACD signal period (default 9).",
      +  "type": "integer"
      +}
    • addedInput schema / properties / strategy_params / properties / exitConditions / properties / buyExitConditions / items / properties / indicator2 / properties / slowPeriod
      Added value: +{
      +  "description": "MACD slow period (default 26).",
      +  "type": "integer"
      +}
    • addedInput schema / properties / strategy_params / properties / exitConditions / properties / buyExitConditions / items / properties / indicator2 / properties / smoothWindow
      Added value: +{
      +  "description": "Stochastic %D smoothing window (default 3).",
      +  "type": "integer"
      +}
    • addedInput schema / properties / strategy_params / properties / exitConditions / properties / buyExitConditions / items / properties / indicator2 / properties / stdDev
      Added value: +{
      +  "description": "Bollinger Bands stdDev (default 2.0).",
      +  "type": "number"
      +}
    • changedInput schema / properties / strategy_params / properties / exitConditions / properties / buyExitConditions / items / properties / indicator2 / properties / type / description
      Previous value: -"SMA | EMA | WMA | SMMA | RSI | MACD | Bollinger Bands | VWAP | Price | Value"New value: +"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"
    • changedInput schema / properties / strategy_params / properties / exitConditions / properties / sellExitConditions / description
      Previous value: -"Close an open SHORT when ANY of these holds."New value: +"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'."
    • addedInput schema / properties / strategy_params / properties / exitConditions / properties / sellExitConditions / items / additionalProperties
      Added value: +true
    • addedInput schema / properties / strategy_params / properties / exitConditions / properties / sellExitConditions / items / properties / indicator1 / additionalProperties
      Added value: +true
    • changedInput schema / properties / strategy_params / properties / exitConditions / properties / sellExitConditions / items / properties / indicator1 / description
      Previous value: -"Left-hand indicator."New value: +"Left-hand indicator or {type: 'Price'}."
    • changedInput schema / properties / strategy_params / properties / exitConditions / properties / sellExitConditions / items / properties / indicator1 / properties / component / description
      Previous value: -"MACD: line|signal|hist. Bollinger: upper|middle|lower. RSI: overbought|oversold (fixed band level)."New value: +"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."
    • addedInput schema / properties / strategy_params / properties / exitConditions / properties / sellExitConditions / items / properties / indicator1 / properties / fastPeriod
      Added value: +{
      +  "description": "MACD fast period (default 12).",
      +  "type": "integer"
      +}
    • addedInput schema / properties / strategy_params / properties / exitConditions / properties / sellExitConditions / items / properties / indicator1 / properties / length
      Added value: +{
      +  "description": "Alias for period.",
      +  "type": "integer"
      +}
    • addedInput schema / properties / strategy_params / properties / exitConditions / properties / sellExitConditions / items / properties / indicator1 / properties / multiplier
      Added value: +{
      +  "description": "SuperTrend ATR multiplier (default 3.0).",
      +  "type": "number"
      +}
    • changedInput schema / properties / strategy_params / properties / exitConditions / properties / sellExitConditions / items / properties / indicator1 / properties / period / description
      Previous value: -"Indicator period length."New value: +"Indicator period/length (optional when default applies, e.g. RSI/ADX/ATR/STOCH=14, BB/CCI=20, MACD=12, VWAP=0)."
    • changedInput schema / properties / strategy_params / properties / exitConditions / properties / sellExitConditions / items / properties / indicator1 / properties / priceType / description
      Previous value: -"close (default) | open | high | low | hl2 | hlc3 | ohlc4"New value: +"close (default) | open | high | low | volume | hl2 | hlc3 | ohlc4"
    • addedInput schema / properties / strategy_params / properties / exitConditions / properties / sellExitConditions / items / properties / indicator1 / properties / shift
      Added value: +{
      +  "description": "Bar offset/lookback (0 = current bar, 1 = previous bar).",
      +  "type": "integer"
      +}
    • addedInput schema / properties / strategy_params / properties / exitConditions / properties / sellExitConditions / items / properties / indicator1 / properties / signalPeriod
      Added value: +{
      +  "description": "MACD signal period (default 9).",
      +  "type": "integer"
      +}
    • addedInput schema / properties / strategy_params / properties / exitConditions / properties / sellExitConditions / items / properties / indicator1 / properties / slowPeriod
      Added value: +{
      +  "description": "MACD slow period (default 26).",
      +  "type": "integer"
      +}
    • addedInput schema / properties / strategy_params / properties / exitConditions / properties / sellExitConditions / items / properties / indicator1 / properties / smoothWindow
      Added value: +{
      +  "description": "Stochastic %D smoothing window (default 3).",
      +  "type": "integer"
      +}
    • addedInput schema / properties / strategy_params / properties / exitConditions / properties / sellExitConditions / items / properties / indicator1 / properties / stdDev
      Added value: +{
      +  "description": "Bollinger Bands stdDev (default 2.0).",
      +  "type": "number"
      +}
    • changedInput schema / properties / strategy_params / properties / exitConditions / properties / sellExitConditions / items / properties / indicator1 / properties / type / description
      Previous value: -"SMA | EMA | WMA | SMMA | RSI | MACD | Bollinger Bands | VWAP | Price | Value"New value: +"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"
    • addedInput schema / properties / strategy_params / properties / exitConditions / properties / sellExitConditions / items / properties / indicator2 / additionalProperties
      Added value: +true
    • changedInput schema / properties / strategy_params / properties / exitConditions / properties / sellExitConditions / items / properties / indicator2 / properties / component / description
      Previous value: -"MACD: line|signal|hist. Bollinger: upper|middle|lower. RSI: overbought|oversold (fixed band level)."New value: +"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."
    • addedInput schema / properties / strategy_params / properties / exitConditions / properties / sellExitConditions / items / properties / indicator2 / properties / fastPeriod
      Added value: +{
      +  "description": "MACD fast period (default 12).",
      +  "type": "integer"
      +}
    • addedInput schema / properties / strategy_params / properties / exitConditions / properties / sellExitConditions / items / properties / indicator2 / properties / length
      Added value: +{
      +  "description": "Alias for period.",
      +  "type": "integer"
      +}
    • addedInput schema / properties / strategy_params / properties / exitConditions / properties / sellExitConditions / items / properties / indicator2 / properties / multiplier
      Added value: +{
      +  "description": "SuperTrend ATR multiplier (default 3.0).",
      +  "type": "number"
      +}
    • changedInput schema / properties / strategy_params / properties / exitConditions / properties / sellExitConditions / items / properties / indicator2 / properties / period / description
      Previous value: -"Indicator period length."New value: +"Indicator period/length (optional when default applies, e.g. RSI/ADX/ATR/STOCH=14, BB/CCI=20, MACD=12, VWAP=0)."
    • changedInput schema / properties / strategy_params / properties / exitConditions / properties / sellExitConditions / items / properties / indicator2 / properties / priceType / description
      Previous value: -"close (default) | open | high | low | hl2 | hlc3 | ohlc4"New value: +"close (default) | open | high | low | volume | hl2 | hlc3 | ohlc4"
    • addedInput schema / properties / strategy_params / properties / exitConditions / properties / sellExitConditions / items / properties / indicator2 / properties / shift
      Added value: +{
      +  "description": "Bar offset/lookback (0 = current bar, 1 = previous bar).",
      +  "type": "integer"
      +}
    • addedInput schema / properties / strategy_params / properties / exitConditions / properties / sellExitConditions / items / properties / indicator2 / properties / signalPeriod
      Added value: +{
      +  "description": "MACD signal period (default 9).",
      +  "type": "integer"
      +}
    • addedInput schema / properties / strategy_params / properties / exitConditions / properties / sellExitConditions / items / properties / indicator2 / properties / slowPeriod
      Added value: +{
      +  "description": "MACD slow period (default 26).",
      +  "type": "integer"
      +}
    • addedInput schema / properties / strategy_params / properties / exitConditions / properties / sellExitConditions / items / properties / indicator2 / properties / smoothWindow
      Added value: +{
      +  "description": "Stochastic %D smoothing window (default 3).",
      +  "type": "integer"
      +}
    • addedInput schema / properties / strategy_params / properties / exitConditions / properties / sellExitConditions / items / properties / indicator2 / properties / stdDev
      Added value: +{
      +  "description": "Bollinger Bands stdDev (default 2.0).",
      +  "type": "number"
      +}
    • changedInput schema / properties / strategy_params / properties / exitConditions / properties / sellExitConditions / items / properties / indicator2 / properties / type / description
      Previous value: -"SMA | EMA | WMA | SMMA | RSI | MACD | Bollinger Bands | VWAP | Price | Value"New value: +"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"
    • changedInput schema / properties / strategy_params / properties / indicators / description
      Previous value: -"List of technical indicators (type and period). movingAverages accepted as alias. Examples: RSI 14; SMA 50 and 200; EMA 12 and 26; MACD; Bollinger 20. Do not invent EMA 9/21."New value: +"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."
    • addedInput schema / properties / strategy_params / properties / indicators / items / additionalProperties
      Added value: +true
    • addedInput schema / properties / strategy_params / properties / indicators / items / properties / fastPeriod
      Added value: +{
      +  "description": "MACD fast period (default 12).",
      +  "type": "integer"
      +}
    • addedInput schema / properties / strategy_params / properties / indicators / items / properties / length
      Added value: +{
      +  "description": "Alias for period.",
      +  "type": "integer"
      +}
    • addedInput schema / properties / strategy_params / properties / indicators / items / properties / multiplier
      Added value: +{
      +  "description": "SuperTrend ATR multiplier (default 3.0).",
      +  "type": "number"
      +}
    • addedInput schema / properties / strategy_params / properties / indicators / items / properties / overbought
      Added value: +{
      +  "description": "Optional overbought level (default 70 for RSI, 80 for STOCH).",
      +  "type": "number"
      +}
    • addedInput schema / properties / strategy_params / properties / indicators / items / properties / oversold
      Added value: +{
      +  "description": "Optional oversold level (default 30 for RSI, 20 for STOCH).",
      +  "type": "number"
      +}
    • changedInput schema / properties / strategy_params / properties / indicators / items / properties / period / description
      Previous value: -"Period length (e.g., 14 for RSI; 50/200 SMA; 12/26 EMA)"New value: +"Period length (e.g., 14 for RSI/ADX/ATR/STOCH; 20 for BB/CCI; 50/200 SMA; 0 for session VWAP)"
    • addedInput schema / properties / strategy_params / properties / indicators / items / properties / priceType
      Added value: +{
      +  "description": "close (default) | open | high | low | hl2 | hlc3 | ohlc4",
      +  "type": "string"
      +}
    • addedInput schema / properties / strategy_params / properties / indicators / items / properties / shift
      Added value: +{
      +  "description": "Optional bar shift (default 0).",
      +  "type": "integer"
      +}
    • addedInput schema / properties / strategy_params / properties / indicators / items / properties / signalPeriod
      Added value: +{
      +  "description": "MACD signal period (default 9).",
      +  "type": "integer"
      +}
    • addedInput schema / properties / strategy_params / properties / indicators / items / properties / slowPeriod
      Added value: +{
      +  "description": "MACD slow period (default 26).",
      +  "type": "integer"
      +}
    • addedInput schema / properties / strategy_params / properties / indicators / items / properties / smoothWindow
      Added value: +{
      +  "description": "Stochastic %D smoothing period (default 3).",
      +  "type": "integer"
      +}
    • addedInput schema / properties / strategy_params / properties / indicators / items / properties / stdDev
      Added value: +{
      +  "description": "Bollinger Bands standard deviation (default 2.0).",
      +  "type": "number"
      +}
    • changedInput schema / properties / strategy_params / properties / indicators / items / properties / type / description
      Previous value: -"Indicator type (e.g., RSI, SMA, EMA, MACD, Bollinger Bands)"New value: +"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)"
    • changedInput schema / properties / strategy_params / properties / indicators / items / required
      Previous value: -[
      -  "type",
      -  "period"
      -]New value: +[
      +  "type"
      +]
    • addedInput schema / properties / strategy_params / properties / risk / additionalProperties
      Added value: +true
    • changedInput schema / properties / strategy_params / properties / risk / description
      Previous value: -"Risk settings: stopLossPercentage, takeProfitPercentage, riskPercentage, maxDrawdown"New value: +"Risk & position management settings."
    • addedInput schema / properties / strategy_params / properties / risk / properties / allowPyramiding
      Added value: +{
      +  "description": "Allow multiple entries in the same direction.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / strategy_params / properties / risk / properties / capitalAllocation
      Added value: +{
      +  "description": "Default USD capital allocation.",
      +  "type": "number"
      +}
    • changedInput schema / properties / strategy_params / properties / risk / properties / maxDrawdown / description
      Previous value: -"1.0 to 50.0"New value: +"0.5 to 100.0"
    • addedInput schema / properties / strategy_params / properties / risk / properties / maxPyramidPositions
      Added value: +{
      +  "description": "Max pyramid positions (default 3).",
      +  "type": "integer"
      +}
    • changedInput schema / properties / strategy_params / properties / risk / properties / riskPercentage / description
      Previous value: -"0.1 to 10.0"New value: +"0.1 to 100.0"
    • addedInput schema / properties / strategy_params / properties / risk / properties / trailingStopAmount
      Added value: +{
      +  "description": "Trailing stop percentage (0.1 to 50.0).",
      +  "type": "number"
      +}
    • addedInput schema / properties / strategy_params / properties / risk / properties / trailingStopEnabled
      Added value: +{
      +  "description": "Enable trailing stop.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / strategy_type
      Added value: +{
      +  "description": "Optional top-level strategy type (CUSTOM, MA_CROSSOVER, RSI_OVERSOLD_OVERBOUGHT, MACD, BOLLINGER_BANDS) if not inside strategy_params.",
      +  "type": "string"
      +}
    • addedInput schema / properties / strike_selection_method
      Added value: +{
      +  "description": "For Stock Options / Futures Options: Closest ATM | Percentage ITM | Percentage OTM | Delta Based.",
      +  "type": "string"
      +}
    • addedInput schema / properties / take_profit_percentage
      Added value: +{
      +  "description": "Optional top-level take profit % (0.1 to 100.0).",
      +  "type": "number"
      +}
    • addedInput schema / properties / trade_direction
      Added value: +{
      +  "description": "Optional trade direction: Both | Long Only | Short Only.",
      +  "type": "string"
      +}
    • addedInput schema / properties / trailing_stop_amount
      Added value: +{
      +  "description": "Optional top-level trailing stop % (0.1 to 50.0).",
      +  "type": "number"
      +}
    • addedInput schema / properties / trailing_stop_enabled
      Added value: +{
      +  "description": "Optional top-level trailing stop toggle.",
      +  "type": "boolean"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "algo_name",
      -  "strategy_params",
      -  "symbols",
      -  "timeframe",
      -  "broker_account_id",
      -  "capital_allocation"
      -]New value: +[
      +  "algo_name",
      +  "symbols",
      +  "timeframe",
      +  "broker_account_id",
      +  "capital_allocation"
      +]
  3. Changed2 schema fields changed
    • changedInput schema / properties / broker_account_id / description
      Previous value: -"Integer `id` from list_brokers for the account the user picked. Not the broker's external account number."New value: +"account_ref from list_brokers (e.g. \"alpaca-paper-93461\") for the account the user picked."
    • changedInput schema / properties / broker_account_id / type
      Previous value: -"integer"New value: +"string"
  4. Changed27 schema fields changed
    • changedInput schema / properties / strategy_params / description
      Previous value: -"Required shape: { strategy_type: 'RSI_OVERSOLD_OVERBOUGHT' | 'MA_CROSSOVER' | 'MACD' | 'BOLLINGER_BANDS' | 'CUSTOM' | ..., indicators: [{type: 'RSI'|'SMA'|'EMA'|'MACD'|..., period: number}], entryConditions: { buyConditions: [{indicator1: {type, period}, relationship: 'Crosses above'|'Above'|..., indicator2: {type, period}}], sellConditions: [...] }, risk: {stopLossPercentage, takeProfitPercentage, riskPercentage, maxDrawdown} }. At least one of buyConditions or sellConditions must be non-empty. movingAverages is accepted as an alias for indicators. Example indicator sets (do not default to one): RSI period 14; SMA 50+200; EMA 12+26; MACD; Bollinger length 20. Never invent EMA 9/21 when unspecified."New value: +"Required shape: { strategy_type: 'RSI_OVERSOLD_OVERBOUGHT' | 'MA_CROSSOVER' | 'MACD' | 'BOLLINGER_BANDS' | 'CUSTOM' | ..., indicators: [{type: 'RSI'|'SMA'|'EMA'|'MACD'|..., period: number}], entryConditions: { buyConditions: [{indicator1: {type, period}, relationship: 'Crosses above'|'Crosses below'|'Is above'|'Is below'|'Is equal to', indicator2: {type, period} OR a fixed level {type: 'Value', value: 30}}], sellConditions: [...] }, exitConditions: {buyExitConditions: [...], sellExitConditions: [...]} (optional), risk: {stopLossPercentage, takeProfitPercentage, riskPercentage, maxDrawdown} }. buyConditions open a LONG; sellConditions open a SHORT (they do NOT close a long — use exitConditions.buyExitConditions to close longs). Entry conditions are ANDed; exit conditions are ORed. MACD operands take component 'line'|'signal'|'hist'; Bollinger operands take component 'upper'|'middle'|'lower'. Use {type: 'Price'} for the bar close. At least one of buyConditions or sellConditions must be non-empty. movingAverages is accepted as an alias for indicators. Example indicator sets (do not default to one): RSI period 14; SMA 50+200; EMA 12+26; MACD; Bollinger length 20. Never invent EMA 9/21 when unspecified."
    • changedInput schema / properties / strategy_params / properties / entryConditions / description
      Previous value: -"Nested object with buyConditions and sellConditions lists"New value: +"Nested object with buyConditions and sellConditions lists (each list is ANDed)."
    • changedInput schema / properties / strategy_params / properties / entryConditions / properties / buyConditions / description
      Previous value: -"Optional list of conditions that must be satisfied to open or buy."New value: +"Conditions that must ALL hold to open a LONG position."
    • changedInput schema / properties / strategy_params / properties / entryConditions / properties / buyConditions / items / properties / indicator1 / description
      Previous value: -"First indicator in the comparison."New value: +"Left-hand indicator."
    • addedInput schema / properties / strategy_params / properties / entryConditions / properties / buyConditions / items / properties / indicator1 / properties / component
      Added value: +{
      +  "description": "MACD: line|signal|hist. Bollinger: upper|middle|lower. RSI: overbought|oversold (fixed band level).",
      +  "type": "string"
      +}
    • addedInput schema / properties / strategy_params / properties / entryConditions / properties / buyConditions / items / properties / indicator1 / properties / priceType
      Added value: +{
      +  "description": "close (default) | open | high | low | hl2 | hlc3 | ohlc4",
      +  "type": "string"
      +}
    • changedInput schema / properties / strategy_params / properties / entryConditions / properties / buyConditions / items / properties / indicator1 / properties / type / description
      Previous value: -"Indicator type, such as RSI, SMA, EMA, or MACD."New value: +"SMA | EMA | WMA | SMMA | RSI | MACD | Bollinger Bands | VWAP | Price | Value"
    • addedInput schema / properties / strategy_params / properties / entryConditions / properties / buyConditions / items / properties / indicator1 / properties / value
      Added value: +{
      +  "description": "Fixed level when type is 'Value' (e.g. RSI below 30 -> 30).",
      +  "type": "number"
      +}
    • changedInput schema / properties / strategy_params / properties / entryConditions / properties / buyConditions / items / properties / indicator2 / description
      Previous value: -"Second indicator or comparison value."New value: +"Right-hand indicator, or {type: 'Value', value: N}."
    • addedInput schema / properties / strategy_params / properties / entryConditions / properties / buyConditions / items / properties / indicator2 / properties / component
      Added value: +{
      +  "description": "MACD: line|signal|hist. Bollinger: upper|middle|lower. RSI: overbought|oversold (fixed band level).",
      +  "type": "string"
      +}
    • addedInput schema / properties / strategy_params / properties / entryConditions / properties / buyConditions / items / properties / indicator2 / properties / priceType
      Added value: +{
      +  "description": "close (default) | open | high | low | hl2 | hlc3 | ohlc4",
      +  "type": "string"
      +}
    • changedInput schema / properties / strategy_params / properties / entryConditions / properties / buyConditions / items / properties / indicator2 / properties / type / description
      Previous value: -"Indicator type, such as RSI, SMA, EMA, or MACD."New value: +"SMA | EMA | WMA | SMMA | RSI | MACD | Bollinger Bands | VWAP | Price | Value"
    • addedInput schema / properties / strategy_params / properties / entryConditions / properties / buyConditions / items / properties / indicator2 / properties / value
      Added value: +{
      +  "description": "Fixed level when type is 'Value' (e.g. RSI below 30 -> 30).",
      +  "type": "number"
      +}
    • changedInput schema / properties / strategy_params / properties / entryConditions / properties / buyConditions / items / properties / relationship / description
      Previous value: -"Crosses above | Above | Below | Crosses below"New value: +"Crosses above | Crosses below | Is above | Is below | Is equal to"
    • changedInput schema / properties / strategy_params / properties / entryConditions / properties / sellConditions / description
      Previous value: -"Optional list of conditions that must be satisfied to close or sell."New value: +"Conditions that must ALL hold to open a SHORT position (not to close a long)."
    • changedInput schema / properties / strategy_params / properties / entryConditions / properties / sellConditions / items / properties / indicator1 / description
      Previous value: -"First indicator in the comparison."New value: +"Left-hand indicator."
    • addedInput schema / properties / strategy_params / properties / entryConditions / properties / sellConditions / items / properties / indicator1 / properties / component
      Added value: +{
      +  "description": "MACD: line|signal|hist. Bollinger: upper|middle|lower. RSI: overbought|oversold (fixed band level).",
      +  "type": "string"
      +}
    • addedInput schema / properties / strategy_params / properties / entryConditions / properties / sellConditions / items / properties / indicator1 / properties / priceType
      Added value: +{
      +  "description": "close (default) | open | high | low | hl2 | hlc3 | ohlc4",
      +  "type": "string"
      +}
    • changedInput schema / properties / strategy_params / properties / entryConditions / properties / sellConditions / items / properties / indicator1 / properties / type / description
      Previous value: -"Indicator type, such as RSI, SMA, EMA, or MACD."New value: +"SMA | EMA | WMA | SMMA | RSI | MACD | Bollinger Bands | VWAP | Price | Value"
    • addedInput schema / properties / strategy_params / properties / entryConditions / properties / sellConditions / items / properties / indicator1 / properties / value
      Added value: +{
      +  "description": "Fixed level when type is 'Value' (e.g. RSI below 30 -> 30).",
      +  "type": "number"
      +}
    • changedInput schema / properties / strategy_params / properties / entryConditions / properties / sellConditions / items / properties / indicator2 / description
      Previous value: -"Second indicator or comparison value."New value: +"Right-hand indicator, or {type: 'Value', value: N}."
    • addedInput schema / properties / strategy_params / properties / entryConditions / properties / sellConditions / items / properties / indicator2 / properties / component
      Added value: +{
      +  "description": "MACD: line|signal|hist. Bollinger: upper|middle|lower. RSI: overbought|oversold (fixed band level).",
      +  "type": "string"
      +}
    • addedInput schema / properties / strategy_params / properties / entryConditions / properties / sellConditions / items / properties / indicator2 / properties / priceType
      Added value: +{
      +  "description": "close (default) | open | high | low | hl2 | hlc3 | ohlc4",
      +  "type": "string"
      +}
    • changedInput schema / properties / strategy_params / properties / entryConditions / properties / sellConditions / items / properties / indicator2 / properties / type / description
      Previous value: -"Indicator type, such as RSI, SMA, EMA, or MACD."New value: +"SMA | EMA | WMA | SMMA | RSI | MACD | Bollinger Bands | VWAP | Price | Value"
    • addedInput schema / properties / strategy_params / properties / entryConditions / properties / sellConditions / items / properties / indicator2 / properties / value
      Added value: +{
      +  "description": "Fixed level when type is 'Value' (e.g. RSI below 30 -> 30).",
      +  "type": "number"
      +}
    • changedInput schema / properties / strategy_params / properties / entryConditions / properties / sellConditions / items / properties / relationship / description
      Previous value: -"Crosses above | Above | Below | Crosses below"New value: +"Crosses above | Crosses below | Is above | Is below | Is equal to"
    • addedInput schema / properties / strategy_params / properties / exitConditions
      Added value: +{
      +  "description": "Optional indicator exits (each list is ORed: any met condition closes).",
      +  "properties": {
      +    "buyExitConditions": {
      +      "description": "Close an open LONG when ANY of these holds.",
      +      "items": {
      +        "properties": {
      +          "indicator1": {
      +            "description": "Left-hand indicator.",
      +            "properties": {
      +              "component": {
      +                "description": "MACD: line|signal|hist. Bollinger: upper|middle|lower. RSI: overbought|oversold (fixed band level).",
      +                "type": "string"
      +              },
      +              "period": {
      +                "description": "Indicator period length.",
      +                "type": "integer"
      +              },
      +              "priceType": {
      +                "description": "close (default) | open | high | low | hl2 | hlc3 | ohlc4",
      +                "type": "string"
      +              },
      +              "type": {
      +                "description": "SMA | EMA | WMA | SMMA | RSI | MACD | Bollinger Bands | VWAP | Price | Value",
      +                "type": "string"
      +              },
      +              "value": {
      +                "description": "Fixed level when type is 'Value' (e.g. RSI below 30 -> 30).",
      +                "type": "number"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "indicator2": {
      +            "description": "Right-hand indicator, or {type: 'Value', value: N}.",
      +            "properties": {
      +              "component": {
      +                "description": "MACD: line|signal|hist. Bollinger: upper|middle|lower. RSI: overbought|oversold (fixed band level).",
      +                "type": "string"
      +              },
      +              "period": {
      +                "description": "Indicator period length.",
      +                "type": "integer"
      +              },
      +              "priceType": {
      +                "description": "close (default) | open | high | low | hl2 | hlc3 | ohlc4",
      +                "type": "string"
      +              },
      +              "type": {
      +                "description": "SMA | EMA | WMA | SMMA | RSI | MACD | Bollinger Bands | VWAP | 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.",
      +      "items": {
      +        "properties": {
      +          "indicator1": {
      +            "description": "Left-hand indicator.",
      +            "properties": {
      +              "component": {
      +                "description": "MACD: line|signal|hist. Bollinger: upper|middle|lower. RSI: overbought|oversold (fixed band level).",
      +                "type": "string"
      +              },
      +              "period": {
      +                "description": "Indicator period length.",
      +                "type": "integer"
      +              },
      +              "priceType": {
      +                "description": "close (default) | open | high | low | hl2 | hlc3 | ohlc4",
      +                "type": "string"
      +              },
      +              "type": {
      +                "description": "SMA | EMA | WMA | SMMA | RSI | MACD | Bollinger Bands | VWAP | Price | Value",
      +                "type": "string"
      +              },
      +              "value": {
      +                "description": "Fixed level when type is 'Value' (e.g. RSI below 30 -> 30).",
      +                "type": "number"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "indicator2": {
      +            "description": "Right-hand indicator, or {type: 'Value', value: N}.",
      +            "properties": {
      +              "component": {
      +                "description": "MACD: line|signal|hist. Bollinger: upper|middle|lower. RSI: overbought|oversold (fixed band level).",
      +                "type": "string"
      +              },
      +              "period": {
      +                "description": "Indicator period length.",
      +                "type": "integer"
      +              },
      +              "priceType": {
      +                "description": "close (default) | open | high | low | hl2 | hlc3 | ohlc4",
      +                "type": "string"
      +              },
      +              "type": {
      +                "description": "SMA | EMA | WMA | SMMA | RSI | MACD | Bollinger Bands | VWAP | 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"
      +}
  5. Changed16 schema fields changed
    • addedInput schema / properties / strategy_params / properties / entryConditions / properties / buyConditions / description
      Added value: +"Optional list of conditions that must be satisfied to open or buy."
    • addedInput schema / properties / strategy_params / properties / entryConditions / properties / buyConditions / items / properties / indicator1 / description
      Added value: +"First indicator in the comparison."
    • addedInput schema / properties / strategy_params / properties / entryConditions / properties / buyConditions / items / properties / indicator1 / properties / period / description
      Added value: +"Indicator period length."
    • addedInput schema / properties / strategy_params / properties / entryConditions / properties / buyConditions / items / properties / indicator1 / properties / type / description
      Added value: +"Indicator type, such as RSI, SMA, EMA, or MACD."
    • addedInput schema / properties / strategy_params / properties / entryConditions / properties / buyConditions / items / properties / indicator2 / description
      Added value: +"Second indicator or comparison value."
    • addedInput schema / properties / strategy_params / properties / entryConditions / properties / buyConditions / items / properties / indicator2 / properties / period / description
      Added value: +"Indicator period length."
    • addedInput schema / properties / strategy_params / properties / entryConditions / properties / buyConditions / items / properties / indicator2 / properties / type / description
      Added value: +"Indicator type, such as RSI, SMA, EMA, or MACD."
    • addedInput schema / properties / strategy_params / properties / entryConditions / properties / sellConditions / description
      Added value: +"Optional list of conditions that must be satisfied to close or sell."
    • addedInput schema / properties / strategy_params / properties / entryConditions / properties / sellConditions / items / properties / indicator1 / description
      Added value: +"First indicator in the comparison."
    • addedInput schema / properties / strategy_params / properties / entryConditions / properties / sellConditions / items / properties / indicator1 / properties / period / description
      Added value: +"Indicator period length."
    • addedInput schema / properties / strategy_params / properties / entryConditions / properties / sellConditions / items / properties / indicator1 / properties / type / description
      Added value: +"Indicator type, such as RSI, SMA, EMA, or MACD."
    • addedInput schema / properties / strategy_params / properties / entryConditions / properties / sellConditions / items / properties / indicator2 / description
      Added value: +"Second indicator or comparison value."
    • addedInput schema / properties / strategy_params / properties / entryConditions / properties / sellConditions / items / properties / indicator2 / properties / period / description
      Added value: +"Indicator period length."
    • addedInput schema / properties / strategy_params / properties / entryConditions / properties / sellConditions / items / properties / indicator2 / properties / type / description
      Added value: +"Indicator type, such as RSI, SMA, EMA, or MACD."
    • changedOutput schema / description
      Previous value: -"Structured Gogi result. Error responses include error and message fields."New value: +"Structured result. Error responses include error and message."
    • addedOutput schema / properties
      Added value: +{
      +  "error": {
      +    "type": "string"
      +  },
      +  "message": {
      +    "type": "string"
      +  },
      +  "success": {
      +    "type": "boolean"
      +  }
      +}
  6. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "description": "Structured Gogi result. Error responses include error and message fields.",
      +  "type": "object"
      +}
  7. First observed

TDQS

A4.5/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare destructive=true, non-idempotent, and openWorld, so the safety profile is known. The description adds genuinely new behavior: a mandatory two-phase confirmation before live capital is committed and a cumulative capital cap tied to policy max_total_capital. It does not say what happens if confirm_allocation=true is sent without a prior false call, or whether a retry creates a duplicate algo, which is a real gap given non-idempotency.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose and the broker account constraint are front-loaded, and the imperative style keeps the procedural guidance scannable. Some guidance is duplicated with the schema text (e.g. the 'do not invent EMA 9/21' warning appears in both), which costs a bit of density.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 36-parameter tool that creates and launches live trading, the description covers the strategy-sourcing rule, capital policy, confirmation protocol, and the post-success presentation step. An output schema exists, so return values need no explanation. It stops short of describing failure modes or what a retry does.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so baseline would be 3, but the description adds operational meaning: broker_account_id must come from list_brokers, capital_allocation must be asked for rather than invented, and risk vs risk_preset precedence is spelled out. The remaining 30+ optional parameters (options, futures, exit-condition variants) are documented only in the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The opening sentence names a specific compound verb chain ('Create algo + instance + start live trading') and binds it to a concrete resource (broker_account_id). This clearly distinguishes it from the sibling primitives create_algo, create_instance, and start_instance, which do only part of the job.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives explicit when-to guidance ('prefer paper/demo', use the strategy the user specified), explicit when-not ('ASK — do NOT invent EMA 9/21'), and the narrow condition under which the agent may choose a template ('only when the user explicitly invites you'). It also prescribes the two-step confirm_allocation flow, which is the core usage protocol.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources