gitee.com/quant1x/engine@v1.8.4/trader/trader_test_model.go (about) 1 package trader 2 3 import ( 4 "gitee.com/quant1x/engine/config" 5 "gitee.com/quant1x/engine/factors" 6 "gitee.com/quant1x/engine/models" 7 "gitee.com/quant1x/gox/concurrent" 8 ) 9 10 type TestModel struct{} 11 12 func (TestModel) Code() models.ModelKind { 13 return 82 14 } 15 16 func (s TestModel) Name() string { 17 //TODO implement me 18 panic("implement me") 19 } 20 21 func (s TestModel) OrderFlag() string { 22 //TODO implement me 23 panic("implement me") 24 } 25 26 func (s TestModel) Filter(ruleParameter config.RuleParameter, snapshot factors.QuoteSnapshot) error { 27 //TODO implement me 28 panic("implement me") 29 } 30 31 func (s TestModel) Sort(snapshots []factors.QuoteSnapshot) models.SortedStatus { 32 //TODO implement me 33 panic("implement me") 34 } 35 36 func (s TestModel) Evaluate(securityCode string, result *concurrent.TreeMap[string, models.ResultInfo]) { 37 //TODO implement me 38 panic("implement me") 39 }