新增自定义时间段批量打分功能:支持设置日期区间,对区间内每天自动拉取数据并打分

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
fish
2026-05-07 21:37:20 +08:00
parent 7aa74dc9bc
commit 01edda923a
8 changed files with 293 additions and 12 deletions

View File

@@ -32,6 +32,7 @@ func New(d *handlers.Deps, dist fs.FS) http.Handler {
r.Get("/candles", d.ListCandles)
r.Post("/run", d.RunPipeline)
r.Post("/run/batch", d.RunBatch)
r.Post("/run/range", d.RunRange)
r.Group(func(r chi.Router) {
r.Use(mw.RequireAdmin)