58 lines
1.6 KiB
Plaintext
58 lines
1.6 KiB
Plaintext
# Database Configuration
|
|
DATABASE_URL=postgresql://user:password@localhost:5432/auto_stock
|
|
DB_POOL_SIZE=10
|
|
|
|
# Redis Configuration
|
|
REDIS_URL=redis://localhost:6379/0
|
|
|
|
# RabbitMQ Configuration
|
|
RABBITMQ_URL=amqp://guest:guest@localhost:5672/
|
|
|
|
# Korea Investment Securities API - Mode Selection
|
|
KIS_MODE=virtual # virtual (모의투자) 또는 real (실전투자)
|
|
|
|
# 모의투자 (Virtual Trading)
|
|
KIS_VIRTUAL_APP_KEY=your_virtual_app_key_here
|
|
KIS_VIRTUAL_APP_SECRET=your_virtual_app_secret_here
|
|
KIS_VIRTUAL_ACCOUNT_NO=your_virtual_account_number_here
|
|
KIS_VIRTUAL_URL=https://openapivts.koreainvestment.com:29443
|
|
|
|
# 실전투자 (Real Trading)
|
|
KIS_REAL_APP_KEY=your_real_app_key_here
|
|
KIS_REAL_APP_SECRET=your_real_app_secret_here
|
|
KIS_REAL_ACCOUNT_NO=your_real_account_number_here
|
|
KIS_REAL_URL=https://openapi.koreainvestment.com:9443
|
|
|
|
# 현재 활성 설정 (KIS_MODE에 따라 자동 선택됨)
|
|
KIS_APP_KEY=your_virtual_app_key_here
|
|
KIS_APP_SECRET=your_virtual_app_secret_here
|
|
KIS_ACCOUNT_NO=your_virtual_account_number_here
|
|
KIS_BASE_URL=https://openapivts.koreainvestment.com:29443
|
|
|
|
# MCP Server Configuration
|
|
MCP_SERVER_URL=http://localhost:8001
|
|
MCP_API_KEY=your_mcp_api_key_here
|
|
|
|
# Claude AI Configuration (for MCP Server)
|
|
ANTHROPIC_API_KEY=your_anthropic_api_key_here
|
|
CLAUDE_MODEL=claude-3-5-sonnet-20241022
|
|
CLAUDE_MAX_TOKENS=4096
|
|
|
|
# Server Configuration
|
|
SERVER_HOST=0.0.0.0
|
|
SERVER_PORT=8000
|
|
DEBUG=false
|
|
LOG_LEVEL=info
|
|
|
|
# Security
|
|
SECRET_KEY=your_secret_key_here_change_in_production
|
|
ALGORITHM=HS256
|
|
ACCESS_TOKEN_EXPIRE_MINUTES=30
|
|
|
|
# CORS
|
|
CORS_ORIGINS=http://localhost:3000,http://localhost:5173
|
|
|
|
# WebSocket
|
|
WS_HEARTBEAT_INTERVAL=30
|
|
WS_MESSAGE_QUEUE_SIZE=1000
|