node

package
v0.0.0-...-0d73d77 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Mongo    hs.MongoConf
	Exchange exchange.Config
	Executor executor.Config
	Strategy strategy.Config
}

type Node

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

func New

func New(conf Config) *Node

func (*Node) Close

func (n *Node) Close(ctx context.Context)

func (*Node) Init

func (n *Node) Init(ctx context.Context)

func (*Node) Run

func (n *Node) Run(ctx context.Context) error

func (*Node) Trade

func (n *Node) Trade(ctx context.Context) error

Jump to

Keyboard shortcuts

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