Files
myquant/djapi/.env.example
T
simonandClaude Opus 4.7 2f1d8b4d03 feat: djapi 数据源归一化 + bug 修复 + 废弃 getDivData_AK
- 新增 djapi/api/stock/data_source.py 统一数源入口 (Tushare 单例)
- 迁移 10 个模块至统一数据源入口
- 废弃 getDivData_AK.py
- 修复 getStockDiv2.py / smoothBrush.py 等模块
- indexDatas API 参数 tscode 类型修正 (股票→指数代码)
- views.py + urls.py 接口清理
- continuation.md 状态更新

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-06-16 15:01:04 +08:00

37 lines
929 B
Bash
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Django
DJANGO_SECRET_KEY=your-secret-key-here
DJANGO_DEBUG=True
# Tushare 股票数据
TUSHARE_TS_TOKEN=your-tushare-token
# MySQL
MYSQL_HOST=localhost
MYSQL_PORT=3306
MYSQL_USER=myquant
MYSQL_PASSWORD=your-mysql-password
MYSQL_DATABASE=myquant
# DeepSeek AI
DEEPSEEK_API_KEY=your-deepseek-api-key
# 阿里 DashScope (ASR + Qwen)
DASHSCOPE_API_KEY=your-dashscope-api-key
# ========================
# 以下为 video 模块 AI 模型配置
# 修改后重启 uWSGI 生效
# ========================
# DeepSeek 模型名(视频分割 + 标题提取)
# 可用: deepseek-chat(推荐,支持 response_format, deepseek-reasoner
DEEPSEEK_MODEL=deepseek-chat
# DashScope ASR 语音识别模型
# 可用: paraformer-realtime-v2, paraformer-v2
DASHSCOPE_ASR_MODEL=paraformer-realtime-v2
# DashScope 大语言模型(文本纠错 + 文本分析)
# 可用: qwen-plus, qwen-max, qwen-turbo
DASHSCOPE_LLM_MODEL=qwen-plus