env.example 749 B

12345678910111213141516171819202122232425262728293031
  1. # Pacifica API Configuration
  2. PACIFICA_API_KEY=your_api_key_here
  3. PACIFICA_BASE_URL=https://api.pacifica.fi
  4. WEBSOCKET_URL=wss://ws.pacifica.fi
  5. # System Configuration
  6. NODE_ENV=development
  7. PORT=3000
  8. LOG_LEVEL=info
  9. ENCRYPTION_KEY=your_32_character_encryption_key_here
  10. # Database Configuration (if using persistent storage)
  11. DATABASE_URL=postgresql://user:password@localhost:5432/wash_trading
  12. # Rate Limiting
  13. RATE_LIMIT_WINDOW_MS=60000
  14. RATE_LIMIT_MAX_REQUESTS=100
  15. # Risk Management
  16. DEFAULT_MAX_POSITION_SIZE=0.1
  17. DEFAULT_STOP_LOSS_THRESHOLD=0.05
  18. DEFAULT_MAX_SLIPPAGE=0.02
  19. # Performance
  20. MAX_CONCURRENT_ACCOUNTS=20
  21. MAX_CONCURRENT_SESSIONS=5
  22. ORDER_EXECUTION_TIMEOUT=30000
  23. # Security
  24. JWT_SECRET=your_jwt_secret_here
  25. SESSION_SECRET=your_session_secret_here