Bot Management

update_bot

Edit a deployed bot without redeploying it: rename it, switch it to another strategy or apply a preset, change its timeframe, execution mode or parameters, or adjust leverage, position size, stop loss, take profit, notifications and stop-after-close. Everything goes in one update. A strategy or timeframe change needs the bot to be flat (pause it first with stopAfterClose); size and leverage only change when you set them.

Parameters

NameTypeDescription
idstringThe bot ID to update
namestringNew bot name
strategyIdstringSwitch to this strategy (ID or slug). The bot must be flat; its old parameters and preset are cleared
presetIdstringApply a bot preset (ID or slug): its strategy, parameters, timeframe, execution mode and version. Never changes size or leverage
versionChannelstringStrategy version channel: stable, beta, latest or custom
pinnedVersionIdstringPin a specific strategy version (sets the custom channel)
timeframestringCandle timeframe, e.g. 15m, 1h, 4h. The bot must be flat
executionModestringon_bar_close (once per closed candle) or continuous
spinIntervalSecondsnumberRun interval in seconds
parameterOverridesobjectStrategy parameters to set, merged into the current ones; null removes one
resetParameterOverridesbooleanDrop all current parameter overrides first
leveragenumberNew leverage (futures only)
positionSizePercentnumberNew position size as % of account balance
stopLossnumberNew stop loss %
takeProfitnumberNew take profit %
notifyOnTradebooleanSend a Telegram notification per trade
stopAfterClosebooleanKeep managing the open position, open nothing new, and pause once flat

Example Prompts

Try asking your AI assistant any of these:

“Change my BTC bot's stop loss to 3%”
“Switch my paused SUI bot to Trade Wind on 4h with the Long & Short preset”
“Rename my HYPE bot to StormRider · HYPE · 4h”
“Set ENABLE_SHORTS to true on my Trade Wind bot”

Start Using update_bot

Set up the TradeStaq MCP server in under a minute.