model

package
v0.0.0-...-cd9138d Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2015 License: GPL-2.0 Imports: 1 Imported by: 0

Documentation

Overview

模型001 原理:Now-Low(20)/High(20)-Low(20)

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Data

type Data struct {
	Code string
	Name string
	Date []string
	O    *Base
	C    *Base
	H    *Base
	L    *Base
}

数据的基本类型

func NewData

func NewData(code string) *Data

func (*Data) Check

func (d *Data) Check() bool

type Dataer

type Dataer interface {
	ToData() *Data
}

数据的接口类型

type Info

type Info struct {
	Code string
	Name string
	Data string
	Type string
}

数据的返回信息

func Model001

func Model001(d Dataer, Nub int) []Info

模型001

func Model0011

func Model0011(d Dataer, Nub int) []Info

func Model002

func Model002(d Dataer, Nub int) []Info

模型002 模型001+加入能量判断

func Model003

func Model003(d Dataer, Nub int) []Info

模型003 模型002+趋势判断

Jump to

Keyboard shortcuts

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