Commit Graph

4 Commits

Author SHA1 Message Date
Rekey 626acb20d3 feat: 全链路新增 type 字段支持 + exchange.ts 超时退出优化
- TS: exit 函数统一管理进程退出与 DB 连接关闭;10s 超时 + 异常路径 clearTimeout
- Python: PairType(spot/um/cm) 贯穿 Kline 模型、策略配置、数据查询
- 回测脚本升级: 9策略 × 4币种 × 6时间级别 × 2交易类型
- 新增 generate_report.py 回测报告生成工具
2026-06-17 10:01:52 +08:00
Rekey b540b7611c chore: 合并 AGENTS 配置为单文件 AGENTS.md,精简 reasonix.toml
- 删除 AGENTS/ 目录下 8 个拆分 .md 文件,统一为根目录 AGENTS.md
- 删除 .reasonix.toml,配置合并到 reasonix.toml
- reasonix.toml 精简为仅保留实际生效的 3 项配置
- KlineInterval 类型导出源从 kline.entity 改到 ../../types
2026-06-16 13:32:05 +08:00
Rekey d8a2f4bb52 refactor: 统一 TypeORM CLI 数据源配置,执行废弃列清理迁移
- data/db/data-source-cli.cjs → .ts,复用 config 模块的 pgsql 配置
- 新增迁移 CleanupTradingPairDeprecatedColumns,删除 trading_pairs 表三个废弃列
- reasonix.toml: model 升级 deepseek-pro,启用中文
2026-06-16 12:29:23 +08:00
Rekey a9c45cce39 chore: add Reasonix config files and env.yaml symlink
- .reasonix.toml / reasonix.toml — Reasonix 工具配置
- data/env.yaml — 软链接指向项目根目录 env.yaml(统一配置加载路径)
2026-06-14 18:44:43 +08:00