trader

package
v0.0.0-...-2ee53ed Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Trader

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

func NewTrader

func NewTrader(client *binance.Client, pair entity.Pair) (*Trader, error)

func (*Trader) Buy

func (t *Trader) Buy(amount decimal.Decimal) error

func (*Trader) Sell

func (t *Trader) Sell(amount decimal.Decimal) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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