binance

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2025 License: GPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ExchangeName is the name of the exchange.
	ExchangeName = "binance"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Activities

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

Activities is the struct that will handle the exchanges.

func New

func New(temporal temporalclient.Client, apiKey, secretKey string) (*Activities, error)

New will create a new binance exchanges.

func (*Activities) ListenSymbolActivity

func (a *Activities) ListenSymbolActivity(
	ctx context.Context,
	params exchanges.ListenSymbolParams,
) (exchanges.ListenSymbolResults, error)

ListenSymbolActivity will listen to the symbol activity.

func (*Activities) Name

func (a *Activities) Name() string

Name will return the name of the exchanges.

func (*Activities) Register

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

Register will register the exchanges.

Jump to

Keyboard shortcuts

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