binance

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: May 4, 2025 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Activities

type Activities struct {
	Client *client.Client
}

Activities is the struct that contains all the activities for the Binance exchange.

func New

func New(apiKey, secretKey string) *Activities

New creates a new Binance activities struct.

func (*Activities) GetCandlesticksActivity

GetCandlesticksActivity gets the candlesticks for the given pair and period.

func (*Activities) Name

func (a *Activities) Name() string

Name returns the name of the Binance activities.

func (*Activities) Register

func (a *Activities) Register(_ worker.Worker)

Register registers the Binance activities with the given worker.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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