galaxis-po/.env.example
머니페니 072b6059d4
Some checks are pending
Deploy to Production / deploy (push) Waiting to run
fix: KRX data collection + TIGER 200 ticker fix + trade history seed
- Upgrade pykrx 1.2.3 → 1.2.6 (KRX login session support)
- Add KRX_ID/KRX_PW env vars for KRX authentication
- Enhance error handling in all pykrx-dependent collectors
  - ETFCollector: raise KRXDataError with login hint
  - ValuationCollector: raise RuntimeError with login hint
  - StockCollector/PriceCollector/ETFPriceCollector: JSONDecodeError handling
- Fix TIGER 200 ticker: 069500 → 102110 in seed data
- Rebuild seed_data.py from actual 33 trade records
- Add trade_history_raw.csv as source data
- Fix pension_allocation recommendation: KODEX 200 → TIGER 200
- Add ticker dropdown to transaction add modal (frontend)
- Update .env.example with KRX credentials
- All 276 tests passing
2026-04-15 22:16:42 +09:00

30 lines
795 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
# KRX Data Portal (required for data collection since 2026)
# Register at https://data.krx.co.kr to get credentials
KRX_ID=your_krx_login_id
KRX_PW=your_krx_password
# DART OpenAPI (Financial Statements, optional)
DART_API_KEY=your_dart_api_key
# Notifications (optional)
DISCORD_WEBHOOK_URL=
TELEGRAM_BOT_TOKEN=
TELEGRAM_CHAT_ID=
# Production only
API_URL=https://your-domain.com