update
This commit is contained in:
12
README.md
12
README.md
@@ -11,8 +11,8 @@
|
||||
运行环境需要 Python 3、Go、可访问的 banbot 源码和 banbot 配置中的 QuestDB。默认路径是:
|
||||
|
||||
```text
|
||||
/home/ctyun/ban/banbot
|
||||
/home/ctyun/ban/banbot/biz/config.yml
|
||||
/data/ban/banbot
|
||||
/data/ban/banbot/biz/config.yml
|
||||
```
|
||||
|
||||
安装项目及依赖:
|
||||
@@ -31,8 +31,8 @@ python3 -m venv .venv
|
||||
结果默认写入:
|
||||
|
||||
```text
|
||||
predictions/latest_v1/predictions.csv
|
||||
predictions/latest_v1/report.json
|
||||
predictions/latest_v1_8h/predictions.csv
|
||||
predictions/latest_v1_8h/report.json
|
||||
```
|
||||
|
||||
查看脚本参数:
|
||||
@@ -54,7 +54,7 @@ predictions/latest_v1/report.json
|
||||
```bash
|
||||
# 下载 1H K 线,导出并整理为 8H CSV
|
||||
.venv/bin/python -m cbpred prepare \
|
||||
--banbot-config /home/ctyun/ban/banbot/biz/config.yml \
|
||||
--banbot-config /data/ban/banbot/biz/config.yml \
|
||||
--out-dir data
|
||||
|
||||
# 使用 data/ 训练并覆盖 artifacts/v1 下的正式模型和报告
|
||||
@@ -85,7 +85,7 @@ predictions/latest_v1/report.json
|
||||
.venv/bin/python -m cbpred prepare \
|
||||
--timeframe 1d \
|
||||
--out-dir data_1d \
|
||||
--banbot-config /home/ctyun/ban/banbot/biz/config.yml
|
||||
--banbot-config /data/ban/banbot/biz/config.yml
|
||||
.venv/bin/python -m cbpred.experiments \
|
||||
--data-dir data_1d \
|
||||
--output-dir artifacts_1d \
|
||||
|
||||
Reference in New Issue
Block a user