lib

package
v0.0.0-...-852338e Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Indicator

type Indicator struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

Indicator -

func (*Indicator) Calculation

func (cc *Indicator) Calculation(hash string, st *core.Calculation, opt map[string]interface{}) (res indicatortype.Result, err error)

Calculation -

func (*Indicator) Init

func (cc *Indicator) Init(option core.IndicatorOptions)

Init -

func (*Indicator) IsValid

func (cc *Indicator) IsValid(st *core.Calculation, opt map[string]interface{}, ast string) bool

IsValid -

func (*Indicator) Name

func (cc *Indicator) Name() string

Name -

func (*Indicator) SetHash

func (cc *Indicator) SetHash(strategyID, indicatorID string, opt map[string]interface{}) (hash string, err error)

SetHash -

func (*Indicator) Title

func (cc *Indicator) Title() string

Title -

func (*Indicator) Trigger

func (cc *Indicator) Trigger() map[int]string

Trigger -

func (*Indicator) Version

func (cc *Indicator) Version() string

Version -

Jump to

Keyboard shortcuts

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