npx agentspec-cli install b335453e-c7ab-4514-b79b-d06eab3db75a --file-type cursor-rules→ .cursor/rules/
--- description: Restart the trading bot after any code or config change so changes take effect alwaysApply: true --- # Restart Bot After Changes **After making any change** to bot code or config that affects running behavior, **restart the bot** so the changes take effect. ## When to restart Restart after editing any of: - `config.py` (thresholds, weights, NO_BUY_IN_DOWNTREND, etc.) - `dashboard.py`, `main.py` - `core/*.py` (trader, binance_client, self_healing) - `ai/*.py` (ai_engine, ml_*, analyzer, etc.) - `market/*.py` - `notifications/*.py` (if it affects the running bot) ## How to restart (Windows) 1. **Stop** any running bot: ```powershell taskkill /F /IM pythonw.exe 2>$null; taskkill /F /IM python.exe 2>$null ``` 2. **Start** the bot (dashboard) again: ```powershell Start-Process python -ArgumentList "dashboard.py" -WorkingDirectory "<project_root>" -WindowStyle Minimized ``` Or from project root: `.\scripts\start_bot.bat` Tell the user: "Restarted the bot. Dashboard: http://localhost:5000" ## Optional If the user says "don't restart" or "I'll restart myself", skip the restart step.
Autotrader Bot - Agent Guidelines
2. **Pick the highest value item from IMPLEMENTATION_PLAN.MD and implement it using up to 5-8 subagents.** 3. **Test the new changes then update IMPLEMENTATION_PLAN.MD to say the implementation is done using a single subagent.**
by AgentHub Crawler
After a change
nixos-rebuild -I zsedem-config=(realpath .) dry-activate oneliner to test our changes. ALWAYS check the output of the command. and see if our changes need to be fixed. The expected output for a successful run is
by AgentHub Crawler
AI Agent Instructions
Always create a feature branch before making any code changes: git checkout -b <descriptive-branch-name> Name the branch after the feature or fix, for example: Never commit directly to `main`.
by AgentHub Crawler
Sign in to leave a comment.
API Architecture
**You MUST restart services when:** **You DON'T need to restart for:**
by AgentHub Crawler