buy

package
v0.0.202 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2022 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Signals

func Signals(
	channel model.Channel,
	client interface{},
	exchange model.Exchange,
	price float64,
	valid time.Duration,
	old model.Calls,
	min,
	volume,
	devn float64,
	notifier model.Notify,
	level int64,
	test bool,
) (model.Calls, error)

func SignalsEvery

func SignalsEvery(
	repeat time.Duration,
	channel model.Channel,
	client interface{},
	exchange model.Exchange,
	price float64,
	valid time.Duration,
	calls model.Calls,
	min,
	volume,
	devn float64,
	notifier model.Notify,
	level int64,
)

func Standard

func Standard(
	client interface{},
	exchange model.Exchange,
	markets []string,
	hold model.Markets,
	agg,
	size,
	dip,
	pip float64,
	mult multiplier.Mult,
	dist,
	top int64,
	max,
	min,
	price,
	volume,
	devn float64,
	notifier model.Notify,
	level int64,
	test bool,

) (error, string)

func StandardEvery

func StandardEvery(
	repeat time.Duration,
	client interface{},
	exchange model.Exchange,
	markets []string,
	hold model.Markets,
	agg float64,
	size float64,
	dip float64,
	pip float64,
	mult multiplier.Mult,
	dist,
	top int64,
	max,
	min,
	price,
	volume,
	devn float64,
	notifier model.Notify,
	level int64,
)

Types

This section is empty.

Jump to

Keyboard shortcuts

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