factors

package
v1.12.5 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Factor

type Factor interface {
	Init()                                       // 初始化
	Name() string                                // 因子名称
	Weight() uint64                              // 权重
	Execute(securityCode, date string) (ok bool) // 执行
}

Factor 因子

type Feature added in v1.12.5

type Feature interface {
	Kind() uint64 // 类型
	Name() string // 特征名称
}

Feature 特征

type FeatureKind added in v1.12.5

type FeatureKind = uint64
const (
	FeatureKLineShap FeatureKind = 1 << iota // K线形态等

)
const (
	FeatureNone FeatureKind = 0
)

Jump to

Keyboard shortcuts

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