| # Server Configuration | |
| HOST=0.0.0.0 | |
| PORT=8000 | |
| ENV=production | |
| VERSION=1.0.0 | |
| # Cache Configuration | |
| CACHE_TYPE=memory | |
| CACHE_TTL_PRICES=30 | |
| CACHE_TTL_OHLCV=300 | |
| CACHE_TTL_SENTIMENT=600 | |
| CACHE_TTL_MARKET=300 | |
| # Redis (if using Redis cache) | |
| # REDIS_URL=redis://localhost:6379 | |
| # Rate Limiting | |
| RATE_LIMIT_ENABLED=true | |
| RATE_LIMIT_PRICES=120 | |
| RATE_LIMIT_OHLCV=60 | |
| RATE_LIMIT_SENTIMENT=30 | |
| RATE_LIMIT_HEALTH=0 | |
| # Optional API Keys (for higher rate limits) | |
| # BINANCE_API_KEY= | |
| # BINANCE_API_SECRET= | |
| # COINGECKO_API_KEY= | |
| # CRYPTOCOMPARE_API_KEY= | |
| # CRYPTOPANIC_API_KEY= | |
| # NEWSAPI_KEY= | |
| # Features | |
| ENABLE_SENTIMENT=true | |
| ENABLE_NEWS=false | |
| # Circuit Breaker | |
| CIRCUIT_BREAKER_THRESHOLD=5 | |
| CIRCUIT_BREAKER_TIMEOUT=60 | |
| # Request Timeouts | |
| REQUEST_TIMEOUT=10 | |
| # Supported Symbols (comma-separated) | |
| SUPPORTED_SYMBOLS=BTC,ETH,SOL,XRP,BNB,ADA,DOT,LINK,LTC,BCH,MATIC,AVAX,XLM,TRX | |
| # Supported Intervals (comma-separated) | |
| SUPPORTED_INTERVALS=1m,5m,15m,1h,4h,1d,1w | |