deving
This commit is contained in:
21
internal/logic/strategy/rule/up_date.go
Normal file
21
internal/logic/strategy/rule/up_date.go
Normal file
@@ -0,0 +1,21 @@
|
||||
package rule
|
||||
|
||||
import (
|
||||
"git.apinb.com/quant/gostock/internal/logic/types"
|
||||
)
|
||||
|
||||
type UpDate struct {
|
||||
Key string
|
||||
Name string
|
||||
}
|
||||
|
||||
func NewUpDate() *UpDate {
|
||||
return &UpDate{
|
||||
Key: "UpDate",
|
||||
Name: "上市时间",
|
||||
}
|
||||
}
|
||||
|
||||
func (r *UpDate) Run(in string) *types.RuleResult {
|
||||
return &types.RuleResult{Key: r.Key, Name: r.Name, Score: 0, Desc: "暂不计算"}
|
||||
}
|
||||
Reference in New Issue
Block a user