# ── Qwen API 配置(DashScope) ───────────────────────────── # API Key 获取:https://dashscope.console.aliyun.com/apiKey QWEN_API_KEY=sk-your-key-here QWEN_MODEL=qwen-turbo # ── 本地 Qwen 部署(可选,优先级高于 API) ────────────────── # QWEN_LOCAL_BASE_URL=http://localhost:11434/v1 # QWEN_LOCAL_MODEL=qwen2.5:7b # ── Tushare 数据源 ───────────────────────────────────────── # Token 获取:https://tushare.pro 注册后在 "个人主页→接口TOKEN" 复制 TUSHARE_TOKEN=your_token_here # ── 数据库 ────────────────────────────────────────────────── MAC_DB_HOST=127.0.0.1 MAC_DB_PORT=13306 MAC_DB_USER=myquant MAC_DB_PASSWORD=your_password_here MAC_DB_NAME=myquant # ── 情绪分析范围 ──────────────────────────────────────────── SENTIMENT_SCOPE_TYPE=index SENTIMENT_SCOPE_INDEXES=000300,000905 SENTIMENT_MAX_NEWS_PER_STOCK=30 # ── MCP 新闻服务(可选) ──────────────────────────────────── # NEWS_MCP_URL=http://192.168.1.160:3333/mcp