Initial commit: stock analysis backend and prototype UI.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-06-13 02:26:22 +08:00
commit 8de37d5c2d
25 changed files with 4624 additions and 0 deletions

29
backend/.env.example Normal file
View File

@@ -0,0 +1,29 @@
# 复制本文件为 .env 并填入你的密钥然后重启后端python main.py生效。
# ===== 大模型OpenAI 兼容;任选其一)=====
# DeepSeek
LLM_API_KEY=
LLM_BASE_URL=https://api.deepseek.com/v1
LLM_MODEL=deepseek-chat
# 通义千问(示例)
# LLM_BASE_URL=https://dashscope.aliyuncs.com/compatible-mode/v1
# LLM_MODEL=qwen-plus
# Kimi示例
# LLM_BASE_URL=https://api.moonshot.cn/v1
# LLM_MODEL=moonshot-v1-8k
# ===== 邮件推送SMTP=====
# 以QQ邮箱为例SMTP_HOST=smtp.qq.com SMTP_PORT=465 SMTP_PASSWORD填“授权码”而非登录密码
SMTP_HOST=
SMTP_PORT=465
SMTP_USER=
SMTP_PASSWORD=
SMTP_TO=
# ===== 微信推送(任选其一)=====
# Server酱 Turbohttps://sct.ftqq.com 获取 SendKey
SERVERCHAN_KEY=
# 企业微信群机器人 webhook 完整地址
WECOM_WEBHOOK=
# PushPlushttps://www.pushplus.plus 获取 token
PUSHPLUS_TOKEN=