Commit Graph
3 Commits
Author SHA1 Message Date
qq564020069 9c42ca0b39 1 2026-07-18 23:44:50 +08:00
rosemarycox5334-debug 545053b5ef feat: 新增国内期货数据源(tqsdk 实时行情)
- 新建 web/data_sources/domestic_futures_source.py:
  60 个品种 × 4 周期(15m/30m/1h/1d),tqsdk 实时拉取 + 前复权
  品种中文命名(螺纹钢主连、沪铜主连、沪深300主连...)
  tqsdk 主连代码 KQ.m@{交易所}.{品种},大小写敏感
- factory.py 注册 domestic_futures 数据源
- index.html + app.js:品种字段支持 select 下拉框
  (presets>20 时自动切换为下拉,如国内期货 60 个品种)
- web_settings.example.json 加 tqsdk_user/tqsdk_password 空字段
  (真实账号在 web_settings.json,已被 .gitignore 排除)
- start_web.bat 指定系统 Python 3.13 路径
2026-07-18 21:21:48 +08:00
qq564020069andCursor baaa7bad04 Keep local secrets and temp downloads out of GitHub.
Ignore tmp_downloads, local settings, and zip artifacts; remove already-tracked temp strategy/zip files. Add a blank web_settings.example.json template with no API keys.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-13 20:49:24 +08:00