This commit is contained in:
yanweidong
2026-01-31 18:22:58 +08:00
parent b4310c22cd
commit 32cbe88964
12 changed files with 104 additions and 155 deletions

View File

@@ -0,0 +1,13 @@
package rule
import "git.apinb.com/quant/gostock/internal/models"
type RuleFactory struct {
Model *models.StratModel
}
func NewRule(m *models.StratModel) *RuleFactory {
return &RuleFactory{
Model: m,
}
}