2026-02-03 12:27:34 +09:00
|
|
|
# Galaxy-PO Environment Variables
|
|
|
|
|
# Copy this file to .env and fill in the values
|
|
|
|
|
|
2026-02-02 23:05:41 +09:00
|
|
|
# Database
|
2026-03-20 12:27:05 +09:00
|
|
|
DATABASE_URL=postgresql://galaxy:your_secure_password_here@localhost:5432/galaxy_po
|
2026-02-02 23:05:41 +09:00
|
|
|
|
|
|
|
|
# JWT Authentication
|
2026-02-03 12:27:34 +09:00
|
|
|
JWT_SECRET=your_jwt_secret_key_here_at_least_32_characters
|
2026-02-02 23:05:41 +09:00
|
|
|
|
2026-02-03 12:27:34 +09:00
|
|
|
# Korea Investment & Securities OpenAPI (optional)
|
2026-02-02 23:05:41 +09:00
|
|
|
KIS_APP_KEY=your_kis_app_key
|
|
|
|
|
KIS_APP_SECRET=your_kis_app_secret
|
|
|
|
|
KIS_ACCOUNT_NO=your_account_number
|
2026-05-05 23:03:53 +09:00
|
|
|
# KIS Paper Trade (모의투자 모드, true=모의투자, false=실전투자)
|
|
|
|
|
KIS_PAPER_TRADE=true
|
2026-02-02 23:05:41 +09:00
|
|
|
|
2026-04-17 23:07:09 +09:00
|
|
|
# KRX Open API (preferred for data collection)
|
|
|
|
|
# Register at https://openapi.krx.co.kr to get an API key
|
|
|
|
|
KRX_OPENAPI_KEY=your_krx_openapi_key
|
|
|
|
|
|
|
|
|
|
# KRX Data Portal (fallback for ValuationCollector when Open API key is not set)
|
2026-04-15 22:16:42 +09:00
|
|
|
# Register at https://data.krx.co.kr to get credentials
|
|
|
|
|
KRX_ID=your_krx_login_id
|
|
|
|
|
KRX_PW=your_krx_password
|
|
|
|
|
|
2026-02-03 12:27:34 +09:00
|
|
|
# DART OpenAPI (Financial Statements, optional)
|
2026-02-02 23:05:41 +09:00
|
|
|
DART_API_KEY=your_dart_api_key
|
2026-02-03 12:27:34 +09:00
|
|
|
|
2026-05-05 23:03:53 +09:00
|
|
|
# LLM Provider (set at least one API key to enable AI features)
|
|
|
|
|
# If both are set, Anthropic is preferred
|
|
|
|
|
ANTHROPIC_API_KEY=
|
|
|
|
|
OPENAI_API_KEY=
|
|
|
|
|
# Optional: override default model names per tier
|
|
|
|
|
# LLM_FAST_MODEL=claude-haiku-4-5-20251001
|
|
|
|
|
# LLM_STRONG_MODEL=claude-sonnet-4-6
|
|
|
|
|
|
2026-03-29 10:03:08 +09:00
|
|
|
# Notifications (optional)
|
|
|
|
|
DISCORD_WEBHOOK_URL=
|
|
|
|
|
TELEGRAM_BOT_TOKEN=
|
|
|
|
|
TELEGRAM_CHAT_ID=
|
|
|
|
|
|
2026-02-03 12:27:34 +09:00
|
|
|
# Production only
|
|
|
|
|
API_URL=https://your-domain.com
|