strategy

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Strategy

type Strategy struct {
	// contains filtered or unexported fields
}

func New

func New(logger *zap.Logger, conf *config.Configuration, dialect dialect.Dialect, trigger chan struct{}) (strategy *Strategy)

func (*Strategy) OnKlineUpdate

func (s *Strategy) OnKlineUpdate(klines []*indicator.Kline)

func (*Strategy) OnNotice

func (s *Strategy) OnNotice()

func (*Strategy) OnTickerUpdate

func (s *Strategy) OnTickerUpdate(ticker *indicator.Ticker) (pass bool)

func (*Strategy) SetStrategy

func (s *Strategy) SetStrategy(trigger chan struct{})

Jump to

Keyboard shortcuts

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