feat(data): TimescaleDB 连续聚合逐月刷新脚本 & 基础设施改进

- 新增 build_aggregates_sql.ts:按月粒度刷新 klines 聚合视图链 (5m→1w),支持 dry-run/execute 模式

- 新增 run_exchange.sh 交易所数据拉取脚本

- DataSource 启动时输出配置概要,Binance REST 客户端添加超时配置

- 开发依赖新增 ts-node,env.yaml 更新数据库地址
This commit is contained in:
Rekey
2026-06-11 15:48:29 +08:00
parent 309b11ae30
commit 72a53cc86d
6 changed files with 445 additions and 3 deletions
+2 -1
View File
@@ -32,8 +32,9 @@
"@types/ws": "^8.18.1",
"eslint": "^10.4.1",
"prettier": "^3.8.3",
"ts-node": "^10.9.2",
"tsx": "^4.22.4",
"typescript": "^6.0.3",
"vitest": "^4.1.8"
}
}
}