Some checks failed
CI / test (pull_request) Has been cancelled
Add Telegram notification configuration: - src/config.py: Add TELEGRAM_BOT_TOKEN, TELEGRAM_CHAT_ID, TELEGRAM_ENABLED - .env.example: Add Telegram section with setup instructions Fields added after S3_REGION (line 55). Follows existing optional API pattern (NEWS_API_KEY, etc.). No breaking changes to existing settings. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
36 lines
894 B
Plaintext
36 lines
894 B
Plaintext
# Korea Investment Securities API
|
|
KIS_APP_KEY=your_app_key_here
|
|
KIS_APP_SECRET=your_app_secret_here
|
|
KIS_ACCOUNT_NO=12345678-01
|
|
KIS_BASE_URL=https://openapivts.koreainvestment.com:9443
|
|
|
|
# Google Gemini
|
|
GEMINI_API_KEY=your_gemini_api_key_here
|
|
GEMINI_MODEL=gemini-pro
|
|
|
|
# Risk Management
|
|
CIRCUIT_BREAKER_PCT=-3.0
|
|
FAT_FINGER_PCT=30.0
|
|
CONFIDENCE_THRESHOLD=80
|
|
|
|
# Database
|
|
DB_PATH=data/trade_logs.db
|
|
|
|
# Rate Limiting
|
|
RATE_LIMIT_RPS=10.0
|
|
|
|
# Trading Mode (paper / live)
|
|
MODE=paper
|
|
|
|
# External Data APIs (optional — for enhanced decision-making)
|
|
# NEWS_API_KEY=your_news_api_key_here
|
|
# NEWS_API_PROVIDER=alphavantage
|
|
# MARKET_DATA_API_KEY=your_market_data_key_here
|
|
|
|
# Telegram Notifications (optional)
|
|
# Get bot token from @BotFather on Telegram
|
|
# Get chat ID from @userinfobot or your chat
|
|
# TELEGRAM_BOT_TOKEN=1234567890:ABCdefGHIjklMNOpqrsTUVwxyz
|
|
# TELEGRAM_CHAT_ID=123456789
|
|
# TELEGRAM_ENABLED=true
|