Adjusting trade bot strategies
Adjusting Trade Bot Strategies
No strategy works forever. Markets shift, volatility changes, and a configuration that performed well last month can underperform this month. The skill is not finding a perfect strategy — it is knowing when and how to adjust.
The Adjustment Cycle
Effective bot management follows a deliberate cycle, not reactive panic:
- Run the bot on a simulated account, or small-size live, to gather data
- Review the performance metrics, logs, and trade history
- Identify what is going wrong, specifically
- Change one thing at a time
- Validate the change with backtesting or HaasLabs before redeploying
The goal is not to chase every down day with a settings tweak. It is to make infrequent, evidence-based changes that improve the strategy's edge.
When to Adjust
Do not adjust a bot because of one bad day. Markets have noise. Adjust when you see a pattern.
Signs that warrant a closer look:
- Negative ROI sustained over multiple days — not a single red candle, but a trend
- Win rate dropping below your backtest baseline — if backtests showed 55% wins and you are now seeing 35% with enough trades to be statistically meaningful, something has changed
- Drawdown exceeding expected levels — if your backtest max drawdown was 8% and you are at 15%, the strategy is behaving differently than modeled
- Market regime has shifted — a bot designed for trending markets will struggle in a sideways range, and vice versa. This is not a failure of the bot; it is a mismatch between the bot's design and current conditions
- Exchange fees or structure changes — if your exchange adjusts its fee schedule, a strategy that was marginally profitable can tip negative
Signs that do NOT warrant adjustment:
- A single losing trade
- Minor daily PnL fluctuation within normal variance
- Short-term noise during known volatile events
What to Adjust
Adjustments fall into three categories, from least to most invasive:
1. Parameter Tuning
The bot's core logic stays the same, but you change numeric values:
- Timeframe — shift from 15-minute to 1-hour candles to filter noise, or down from 4-hour to 1-hour to catch faster moves
- Indicator parameters — adjust RSI period, moving average length, or overbought/oversold thresholds
- Position size — reduce size to lower risk during high volatility, increase during calmer markets
- Stop-loss and take-profit levels — tighten stops to reduce drawdown, widen targets on trending pairs
Use HaasLabs to sweep parameter ranges and find the best combination for current market conditions. This is the lowest-risk type of adjustment because the strategy itself is not changing.
2. Market and Pair Selection
Sometimes the strategy is fine, but the market is wrong:
- Switch trading pairs — a bot that works on BTC/USDT may not work on a low-volume altcoin. Move to a pair with similar characteristics: sufficient volume, tight spreads, and the same general market behavior (trending, ranging, volatile)
- Add or remove pairs — run the same strategy on multiple pairs to diversify, or narrow down to the one pair showing the best results
3. Strategy Changes
When parameter tuning is not enough, you may need to change the logic:
- Add a trend filter to prevent entries in choppy markets
- Add a volume condition to avoid entering on low liquidity
- Replace a single timeframe with multi-timeframe confirmation
- Switch from a mean-reversion approach to a trend-following approach if the market regime has permanently shifted
These changes involve editing the HaasScript. Validate thoroughly — backtest the modified script over multiple market conditions, then run it on simulation before going live.
Avoiding Over-Optimization
The biggest risk when adjusting is curve fitting: tweaking parameters until the bot perfectly fits past data but fails on future data.
- Test on data the bot has not seen. If you optimize on January-through-March data, validate on April data.
- Limit the number of parameters you adjust at once. Each parameter you add to optimization increases the chance of fitting noise.
- Prefer simpler configurations. A bot with 3 parameters that produces a 15% ROI is more trustworthy than a bot with 12 parameters that produces 18% — the simpler one is more likely to generalize.
- If a strategy requires constant micro-adjustments to stay profitable, it was never profitable. A real edge persists across reasonable parameter ranges.
The Full Adjustment Workflow
When you identify a pattern that needs addressing:
- Note the specific problem (e.g., "entries are too late during fast moves on 1-hour candles")
- Form a hypothesis ("switching to 15-minute candles will catch entries earlier")
- Backtest the adjusted configuration over the problem period
- Run a HaasLabs sweep to confirm the new parameter is optimal, not just better-than-before
- Deploy to a simulated account and run forward for several days
- Compare simulated performance against the previous configuration
- If confirmed, deploy to live with conservative size
- Monitor — the adjustment cycle continues