Troubleshooting & FAQ
Solutions for common issues and answers to frequently asked questions.
Installation & Setup
npm install fails with permission errors▼
npm cache clean --force npm install
Or on Windows, run as Administrator. If using WSL, make sure your project isn't in /mnt (Windows mount) as file permissions behave differently.
Cannot find Node.js or npm after installation▼
node --version npm --version
If these don't work, reinstall Node.js and make sure to check "Add to PATH" during installation. Then restart your terminal.
API credentials are not being read from .env.local▼
1. Exists in the project root 2. Uses exact variable names (case-sensitive) 3. Has no spaces around = signs 4. Has been saved 5. Restart the bot for changes to take effect
Trading & Performance
Bot not placing any trades▼
Trades are losing money consistently▼
Getting liquidated despite stop-loss▼
1. Use lower leverage (1-2x max) 2. Increase stop-loss buffer 3. Reduce position size 4. Use post-only orders 5. Monitor gaps and limit moves 6. Set daily loss limits
Consider trading spot markets first to avoid liquidation risk.
Paper trading works but live trading fails▼
Start with very small real positions and scale up.
Technical Issues
WebSocket connection keeps disconnecting▼
1. Check internet connection 2. Increase reconnection timeout in config 3. Use fewer concurrent streams 4. Check firewall/proxy settings 5. Try connecting from different network
High CPU/Memory usage▼
Consider running on dedicated server for production.
Backtest takes forever to complete▼
1. Use shorter date range 2. Reduce number of strategies 3. Increase timeframe 4. Upgrade CPU/RAM 5. Close other applications
Getting "API Rate Limit" errors▼
1. Increase candle timeframe 2. Reduce number of symbols 3. Decrease polling frequency 4. Add delays between requests 5. Use different API key if available
Configuration Issues
Configuration changes don't take effect▼
Invalid configuration error▼
1. JSON syntax errors (use JSON validator) 2. Missing required fields 3. Wrong data types (string vs number) 4. Out-of-range values 5. Typos in parameter names
Strategy not matching my parameters▼
Account & Security
How do I securely store API keys?▼
1. Never commit .env files to git 2. Add .env* to .gitignore 3. Use environment variables 4. Restrict API key permissions (read-only if possible) 5. Use IP whitelist on exchange 6. Rotate keys regularly 7. Use different key for paper trading
Can EDISON be used on multiple accounts?▼
config-account1.json config-account2.json
⚠️ Watch for API rate limits across instances.
Get Help
Can't find your issue?
Check the documentation or search GitHub issues for similar problems. The community is helpful!
Join GitHub Discussions →