迁移 PostgreSQL 并新增 Python API 服务

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
fish
2026-05-03 14:58:01 +08:00
parent 750584e619
commit 220f4acc45
10 changed files with 333 additions and 123 deletions

View File

@@ -24,7 +24,7 @@ func main() {
log.Fatalf("config: %v", err)
}
futures, err := store.OpenFutures(cfg.FuturesDBPath)
futures, err := store.OpenFutures(cfg.DatabaseURL)
if err != nil {
log.Fatalf("open futures: %v", err)
}