SKILL.md
Freqtrade Docker Ops (ft_userdata)
Use this skill when the user asks how to start/stop/restart the bot, reload config, change strategies, or verify the UI after changes.
Assumptions
- Working directory is
/Users/scott/Desktop/trade/ft_userdata. - The bot is run via
docker composeand the strategy lives inuser_data/strategies/.
Choose the correct action
- Only strategy file changed (
user_data/strategies/*.py)
- Restart container to load new code: ``bash docker compose restart freqtrade ``
- Config or env changed (
user_data/config.json,.env.*)
- Restart container: ``bash docker compose restart freqtrade ``
- docker-compose.yml changed (strategy name, ports, env_file, volumes)
- Recreate container: ``bash docker compose up -d --force-recreate ``
- Stop/Start
- Stop: ``bash docker compose stop freqtrade ` - Start: `bash docker compose start freqtrade ``
Verification (always do)
- Container state:
docker compose ps
- Strategy actually loaded:
docker compose logs --tail=80 | grep "Strategy:"
- UI reachable:
- Open
http://127.0.0.1:8080/
If logs are noisy, filter further:
docker compose logs --tail=80 | grep "Using resolved strategy"
Notes
- If
rgis unavailable, usegrep. - If the UI shows the old strategy, use
docker compose up -d --force-recreate.