This commit is contained in:
yanweidong
2026-02-01 03:44:51 +08:00
parent 32cbe88964
commit ec0fb57d1f

View File

@@ -22,7 +22,7 @@ func main() {
config.New(ServiceKey)
impl.NewImpl()
code := "601899.SH"
for _, code := range strategy.GetStocks() {
strategy.InitCacheByCode(code)
model := models.NewStratModel("selector", code)
stratRule := rule.NewRule(model)
@@ -34,6 +34,7 @@ func main() {
stratRule.RunRoe(code)
model.Save()
}
}
func main2() {