strategy

package
v1.5.36 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 7, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FormulaNo0

type FormulaNo0 struct{}

FormulaNo0 0号策略

func (*FormulaNo0) Code

func (this *FormulaNo0) Code() int

func (*FormulaNo0) Evaluate

func (this *FormulaNo0) Evaluate(fullCode string, info *security.StaticBasic, result *treemap.Map)

func (*FormulaNo0) Name

func (this *FormulaNo0) Name() string

type FormulaNo1

type FormulaNo1 struct {
}

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 (*FormulaNo1) Code

func (this *FormulaNo1) Code() int

func (*FormulaNo1) Evaluate

func (this *FormulaNo1) Evaluate(fullCode string, info *security.StaticBasic, result *treemap.Map)

Evaluate 评估K线数据

func (*FormulaNo1) Name

func (this *FormulaNo1) Name() string

type FormulaNo3

type FormulaNo3 struct{}

func (FormulaNo3) Code

func (this FormulaNo3) Code() int

func (FormulaNo3) Evaluate

func (this FormulaNo3) Evaluate(fullCode string, info *security.StaticBasic, result *treemap.Map)

func (FormulaNo3) Name

func (this FormulaNo3) Name() string

type FormulaNo84

type FormulaNo84 struct{}

func (FormulaNo84) Code

func (this FormulaNo84) Code() int

func (FormulaNo84) Evaluate

func (this FormulaNo84) Evaluate(fullCode string, info *security.StaticBasic, result *treemap.Map)

func (FormulaNo84) Name

func (this FormulaNo84) Name() string

type FormulaNo85

type FormulaNo85 struct{}

func (FormulaNo85) Code

func (this FormulaNo85) Code() int

func (FormulaNo85) Evaluate

func (this FormulaNo85) Evaluate(fullCode string, info *security.StaticBasic, result *treemap.Map)

func (FormulaNo85) Name

func (this FormulaNo85) Name() string

type FormulaNo89

type FormulaNo89 struct{}

func (FormulaNo89) Code

func (this FormulaNo89) Code() int

func (FormulaNo89) Evaluate

func (this FormulaNo89) Evaluate(fullCode string, info *security.StaticBasic, result *treemap.Map)

func (FormulaNo89) Name

func (this FormulaNo89) Name() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL