trading-platform-data-servi.../.env.example
2026-01-16 08:32:57 -06:00

27 lines
654 B
Plaintext

# =============================================================================
# Data Service - Environment Variables
# =============================================================================
# Server
PORT=8002
HOST=0.0.0.0
ENVIRONMENT=development
LOG_LEVEL=INFO
# Database
DATABASE_URL=postgresql+asyncpg://trading_user:trading_dev_2025@localhost:5432/trading_platform
# Polygon.io API
POLYGON_API_KEY=your_polygon_api_key_here
POLYGON_BASE_URL=https://api.polygon.io
# Rate Limiting (requests per minute)
POLYGON_RATE_LIMIT=5
# Sync Settings
SYNC_BATCH_SIZE=1000
SYNC_HISTORY_DAYS=365
# Redis (optional)
REDIS_URL=redis://localhost:6379/0