Commit Graph

3 Commits

Author SHA1 Message Date
mindesbunister
938e670393 refactor: Simplify env config - remove cooldown and Telegram from v4
- Removed MIN_TIME_BETWEEN_TRADES (no cooldown needed)
- Removed TELEGRAM_BOT_TOKEN/CHAT_ID (n8n handles notifications)
- Changed default LEVERAGE from 10x to 5x (safer)
- Changed MAX_DAILY_DRAWDOWN from -150 to -50 (safer)
- Clarified Pyth is FREE - no API key needed
- Updated risk calculations for 5x leverage
- Removed all unnecessary variables
- Total: 136 lines (cleaner and focused)
2025-10-23 16:55:13 +02:00
mindesbunister
542b1abb16 refactor: Streamline .env.example to essentials only
- Removed unnecessary variables (Discord, Email, Database, Monitoring)
- Kept only required trading variables (Drift, Solana RPC, Pyth)
- Removed DRIFT_PROGRAM_ID (uses default)
- Removed advanced monitoring (DataDog, Grafana, New Relic)
- Removed database config (not needed for Phase 2)
- Removed n8n webhook URL (n8n calls v4, not vice versa)
- Simplified notes section with clear setup checklist
- Emphasized API_SECRET_KEY must match between v4 and n8n
- Total: 155 lines (down from 320)
2025-10-23 16:49:25 +02:00
mindesbunister
3859bb31f0 docs: Add comprehensive .env.example with all trading parameters
- Add detailed Drift Protocol configuration with security notes
- Add Solana RPC options (Helius, QuickNode, Alchemy, Ankr)
- Add Pyth Network price feed configuration
- Add complete trading parameters with explanations and examples
- Add n8n workflow integration settings
- Add notification setup (Telegram, Discord, Email/SMTP)
- Add database configuration for Phase 3
- Add security & access control settings
- Add development & debugging options
- Add monitoring & analytics integrations
- Add comprehensive notes section with:
  * Production vs Testing setup examples
  * Risk calculation examples
  * API key setup instructions
  * Testing checklist
  * Security reminders
  * Documentation links

All parameters include:
- Clear descriptions
- Example values
- Risk calculations
- Setup instructions
- Alternative options
2025-10-23 14:46:28 +02:00