﻿# Database Configuration
# DB_PATH is relative to the project root (one level above public/).
# On cPanel, the project root is typically: /home/USERNAME/copyedge/
# Keep this as-is — the Database class resolves it to an absolute path automatically.
DB_PATH=database/platform.db

# API Configuration
# Choose one API provider: finnhub, alphavantage, or twelvedata
API_PROVIDER=finnhub

# API Keys (obtain from respective providers)
FINNHUB_API_KEY=your_finnhub_api_key_here
ALPHAVANTAGE_API_KEY=your_alphavantage_api_key_here
TWELVEDATA_API_KEY=your_twelvedata_api_key_here

# Session Configuration
SESSION_TIMEOUT=3600
SESSION_NAME=copyedge_session

# Application Configuration
APP_NAME=Copy Edge
APP_ENV=production

# Logging Configuration
LOG_LEVEL=info
LOG_FILE=logs/app.log

# Market Data Configuration
MARKET_DATA_REFRESH_INTERVAL=15
PRICE_CACHE_TTL=60

# Simulation Engine Configuration
SIMULATION_ENGINE_INTERVAL=15
SIMULATION_ENGINE_TIMEOUT=12
