trades

package
v0.0.0-...-b8ff696 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Functions = map[string]workerpool.ExecutionFn{
	"stub": Stub,
	"kvo":  Kov,
}

Functions

func Kov

func Kov(ctx context.Context, param workerpool.FnParam) error

func ManyKov

func ManyKov(ctx context.Context, logger *slog.Logger, tgbot *bot.Bot, repo repository.Repository, settings *models.Settings) error

func Stub

func Stub(ctx context.Context, param workerpool.FnParam) error

Types

type Signal

type Signal int
const (
	SHORT Signal = iota - 1
	NEUTRAL
	LONG
	BUY
	SELL
)

type Trade

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

Jump to

Keyboard shortcuts

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