How to Edit a Bot
Modify your trading bot configuration to optimize performance. Update strategy parameters, risk controls, and exit strategies without losing trade history.
You can modify your bot's configuration at any time to adjust strategy parameters, risk controls, or trading schedules. Bots can be edited while active, though some changes may require temporarily pausing the bot to take effect properly.
Accessing Bot Settings
In the Bot Management table, locate the bot you want to modify. Click the settings icon (gear icon) in the Actions column on the right side of the row. This opens the same configuration interface you used when creating the bot, pre-populated with all current settings.
What You Can Change
Every aspect of your bot configuration is editable after creation. You can modify strategy parameters like expiry, strike selection, entry windows, and EOD close times. Risk management settings including daily loss caps, max spread, cooldown periods, and order types are all adjustable. Position sizing can be scaled up or down based on your account growth or risk tolerance changes. Exit strategies including take profit levels, stop losses, and trailing stops can be refined as you learn what works best for your strategy.
Making Strategic Adjustments
When editing strategy settings, pay attention to how changes affect open positions. Modifying your exit strategy's take profit levels or stop loss percentages only applies to new positions opened after you save. Existing open positions continue using the exit parameters that were active when they were entered.
Changing your entry window or trading schedule affects when the bot accepts new signals but doesn't close existing positions. If you narrow your entry window and have positions open outside that window, they'll remain active until your exit criteria trigger.
Strike selection changes apply immediately to new entries. If you switch from ATM to ITM strikes, the next signal the bot receives will enter with in-the-money contracts instead of at-the-money.
Adjusting Risk Parameters
Risk management changes typically take effect immediately. Reducing your daily loss cap applies to your current day's trading, so if you're close to your existing cap and lower it further, the bot may immediately stop accepting new signals.
Cooldown period changes affect the timing of your next eligible trade. If you increase the cooldown from 0 to 5 minutes while already in a position, the bot will wait 5 minutes after closing that position before accepting the next signal.
Max spread adjustments help you respond to changing market conditions. On low-liquidity days, you might increase your max spread tolerance to allow entries that would otherwise be rejected. On normal days, tightening the spread protects you from poor fills.
Modifying Position Sizing
Position sizing changes should be made carefully, especially if you're scaling up. Moving from fixed dollars to percent of account (or vice versa) changes how aggressively your strategy compounds gains or limits losses during drawdowns.
If you increase your position size, verify that your daily loss cap is still appropriate. A larger position size with the same stop loss means you'll hit your daily cap faster if you have consecutive losses.
The risk profile panel on the right updates dynamically as you adjust position sizing, showing your new max loss per trade and risk:reward ratio. Watch these metrics to ensure your adjustments maintain a risk profile you're comfortable with.
Changing Signal Sources
You can connect your bot to a different signal by selecting a new Signal Source (Strategy) from the dropdown. This is useful when you want to test the same bot configuration with different entry signals, or when you're deprecating an old signal in favor of a new one.
Changing signal sources doesn't affect open positions. The bot simply stops listening to the old webhook and starts monitoring the new one for future entries.
Editing Active vs Inactive Bots
You can edit bots that are currently active, but consider temporarily pausing them if you're making significant changes. This prevents the bot from entering a new position while you're mid-edit, which could execute with incomplete settings.
For inactive or draft bots, you can edit freely without any timing considerations. Make all your changes and then activate the bot when ready.
Smart Suggestions During Editing
As you modify settings, the Smart Suggestions panel continues to analyze your configuration and offer recommendations. These suggestions adapt to your changes in real-time. For example, if you lower your stop loss significantly, you might see a suggestion to improve your risk:reward ratio or reduce position size to compensate for the increased risk.
Validation Checks
The validation panel shows which sections of your configuration are properly set up. If you edit a bot and accidentally create an invalid configuration (like removing all take profit levels or setting an impossible entry window), the validation warnings will alert you before you save.
You can't save a bot with validation errors, ensuring your bot won't fail due to configuration issues.
Saving Changes
After making your edits, click the save button to apply changes. If the bot is active, it immediately begins using the new configuration for all future signal processing and trade entries.
If you change your mind while editing, click Cancel to discard all modifications and return to the Bot Management page. The bot continues using its previous configuration.
Impact on Performance Tracking
Editing a bot doesn't reset its performance statistics. Your win rate, P&L, and trade history remain intact regardless of configuration changes. This lets you iterate on your strategy while maintaining a complete performance record.
However, significant strategy changes may make historical performance less relevant for predicting future results. If you fundamentally change how the bot operates, consider the historical metrics in context of when those changes were made.
Best Practices for Editing
Make one change at a time when possible. If you adjust multiple parameters simultaneously and performance improves or degrades, you won't know which change caused the effect.
Document why you're making changes, especially for risk parameters. Whether in a trading journal or notes field, tracking your reasoning helps you learn what adjustments work and which ones don't.
Test significant changes in paper trading mode first. You can clone your bot, make aggressive changes to the clone, and run both versions simultaneously to compare results before committing to the new strategy.
Review your bot's recent trade history before making changes. Understanding why recent trades won't or lost helps inform what adjustments will actually improve performance versus what might just be reacting to normal variance.
Related Articles
How to Create a Bot
Build automated trading strategies in RelayDesk. Configure entry rules, exit strategies, risk management, and position sizing for your options trading bots.
How to Archive a Bot
Archive inactive trading bots to keep your workspace organized while preserving configuration and trade history for future reference.
Bot Management Page Overview
Navigate the Bot Management dashboard to monitor performance metrics, filter strategies, and manage multiple trading bots from a centralized interface.
Advanced Bot Configuration
Fine-tune your bots for optimal performance
Was this article helpful?