Documentation ¶
Index ¶
- Constants
- func GeneralFilter(snapshot models.QuoteSnapshot) bool
- type ModelNo1
- func (m ModelNo1) Code() models.ModelKind
- func (m ModelNo1) Evaluate(securityCode string, result *treemap.Map)
- func (m ModelNo1) Filter(snapshot models.QuoteSnapshot) bool
- func (m ModelNo1) Name() string
- func (m ModelNo1) OrderFlag() string
- func (m ModelNo1) Sort(snapshots []models.QuoteSnapshot) models.SortedStatus
Constants ¶
View Source
const ( // MaximumResultDays 结果最大天数 MaximumResultDays int = 3 )
Variables ¶
This section is empty.
Functions ¶
func GeneralFilter ¶ added in v0.7.5
func GeneralFilter(snapshot models.QuoteSnapshot) bool
GeneralFilter 过滤条件
Types ¶
type ModelNo1 ¶ added in v0.6.1
type ModelNo1 struct { }
ModelNo1 1号模型
FormulaNo1 3天内5天线上穿10天线,10天线上穿20天线的个股 count(cross(MA(c,5),MA(c,10)),3)>=1 and count(cross(MA(c,10),MA(c,20)),3)>=1
func (ModelNo1) Filter ¶ added in v0.6.1
func (m ModelNo1) Filter(snapshot models.QuoteSnapshot) bool
func (ModelNo1) Sort ¶ added in v0.7.2
func (m ModelNo1) Sort(snapshots []models.QuoteSnapshot) models.SortedStatus
Click to show internal directories.
Click to hide internal directories.