arbitrage-engine/automation/auto_evolve/README.md

31 lines
716 B
Markdown
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.

# Auto-Evolve
## 文件
- `run_daily.py`: 每日自动分析 + 自动调参 + 自动上新/下线 + 报告输出
- `config.example.json`: 配置模板
## 快速开始
```bash
# dry-run不写库
python3 automation/auto_evolve/run_daily.py
# apply写库
python3 automation/auto_evolve/run_daily.py --apply
# 带配置
python3 automation/auto_evolve/run_daily.py --config automation/auto_evolve/config.example.json --apply
```
## 输出
- Markdown 报告:`reports/auto-evolve/YYYY-MM-DD/HHMMSS_auto_evolve.md`
- JSON 报告:`reports/auto-evolve/YYYY-MM-DD/HHMMSS_auto_evolve.json`
## 默认安全策略
- 默认 dry-run
- `--apply` 才会写入策略;
- 写入失败自动回滚事务。