- Remove hardcoded database_url/jwt_secret defaults, require env vars - Add DB indexes for stocks.market, market_cap, backtests.user_id - Optimize backtest engine: preload all prices, move stock_names out of loop - Fix backtest API auth: filter by user_id at query level (6 endpoints) - Add manual transaction entry modal on portfolio detail page - Replace console.error with toast.error in signals, backtest, data explorer - Add backtest delete button with confirmation dialog - Replace simulated sine chart with real snapshot data - Add strategy-to-portfolio apply flow with dialog - Add DC pension risk asset ratio >70% warning on rebalance page - Add backtest comparison page with metrics table and overlay chart
20 lines
541 B
Plaintext
20 lines
541 B
Plaintext
# Galaxy-PO Environment Variables
|
|
# Copy this file to .env and fill in the values
|
|
|
|
# Database
|
|
DATABASE_URL=postgresql://galaxy:your_secure_password_here@localhost:5432/galaxy_po
|
|
|
|
# JWT Authentication
|
|
JWT_SECRET=your_jwt_secret_key_here_at_least_32_characters
|
|
|
|
# Korea Investment & Securities OpenAPI (optional)
|
|
KIS_APP_KEY=your_kis_app_key
|
|
KIS_APP_SECRET=your_kis_app_secret
|
|
KIS_ACCOUNT_NO=your_account_number
|
|
|
|
# DART OpenAPI (Financial Statements, optional)
|
|
DART_API_KEY=your_dart_api_key
|
|
|
|
# Production only
|
|
API_URL=https://your-domain.com
|