Meu Bot Não Opera: Diagnóstico Sistemático

Bot não opera? Checklist sistemático pra diagnosticar.

"Meu bot está rodando mas não faz trades." Frustrating. Esta página é checklist sistemático.

Checklist diagnóstico

1. Bot está realmente rodando?

ps aux | grep openclaw
tail -f ~/.openclaw/logs/main.log

Bot crashed silentamente? Restart com logs verbosos.

2. Strategy permite trade agora?

Strategies tem conditions. Algumas:

  • Time-of-day filter (só opera Asia/London session)
  • Day-of-week filter
  • News blackout (pause durante events)
  • Market regime filter (só opera trending markets)

Verifique config.

3. Risk limits triggered?

  • Daily drawdown limit hit → kill switch ativo
  • Max open positions reached
  • Capital available menor que minimum trade size

4. Market hours?

  • Forex: 24/5 mas Sunday open lento
  • Crypto: 24/7
  • Stocks: regular hours

5. Exchange APIs respondendo?

# Test manual
curl https://api.binance.com/api/v3/time

6. Signal generation funciona?

Force a signal manualmente:

openclaw chat "verifique se condições da minha strategy estão atendidas agora"

7. Auth válida?

  • API key expired?
  • IP whitelist mudou?
  • Permissions sufficient?

8. Strategy é razoável?

Às vezes bot está OK e mercado simplesmente não trigger conditions:

  • Mean reversion em trending market: pouca atividade esperada
  • Breakout strategy em range market: silêncio até breakout real

Quando não há nada errado

Às vezes bot "não fazendo nada" é correto. Markets nem sempre tem opportunity. Patience.

Veja: troubleshooting geral. 🦞