trading-platform/apps/data-service/.env.example

47 lines
1.5 KiB
Plaintext

# Data Service Configuration - OrbiQuant Trading Platform
# Copy to .env and fill in your values
# ============================================
# Database Configuration
# ============================================
DB_HOST=localhost
DB_PORT=5432
DB_NAME=orbiquant_trading
DB_USER=orbiquant_user
DB_PASSWORD=orbiquant_dev_2025
# ============================================
# Polygon.io / Massive.com API
# Get your API key at: https://polygon.io or https://massive.com
# ============================================
POLYGON_API_KEY=your_api_key_here
POLYGON_BASE_URL=https://api.polygon.io
POLYGON_RATE_LIMIT=5
POLYGON_TIER=basic # basic, starter, advanced
# ============================================
# MetaAPI.cloud (for MT4/MT5 access)
# Get your token at: https://metaapi.cloud
# ============================================
METAAPI_TOKEN=your_metaapi_token_here
METAAPI_ACCOUNT_ID=your_account_id_here
# ============================================
# Direct MT4 Connection (alternative to MetaAPI)
# ============================================
MT4_SERVER=your_broker_server:443
MT4_LOGIN=your_account_number
MT4_PASSWORD=your_password
MT4_INVESTOR_MODE=true # true for read-only, false for trading
# ============================================
# Sync Settings
# ============================================
SYNC_INTERVAL_MINUTES=5
BACKFILL_DAYS=30
# ============================================
# Logging
# ============================================
LOG_LEVEL=INFO