binance

package
v0.0.0-...-4058e4e Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2023 License: Unlicense Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Binance

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

func New

func New(logger *logger.Logger) *Binance

func (*Binance) GetCurrentPrice

func (f *Binance) GetCurrentPrice(ctx context.Context, symbol string) (*futures.SymbolPrice, error)

func (*Binance) GetExchangeInfo

func (f *Binance) GetExchangeInfo(ctx context.Context) (*futures.ExchangeInfo, error)

func (*Binance) GetListenKey

func (f *Binance) GetListenKey(ctx context.Context) (string, error)

func (*Binance) ListCandlesticks

func (f *Binance) ListCandlesticks(ctx context.Context, symbol, interval string, limit int, startTime, endTime int64) ([]*binance.Kline, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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