binance

package
v0.0.0-...-56c67ce Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2021 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CandleStickServiceInterface

type CandleStickServiceInterface interface {
	Do(ctx context.Context) (*candlestick.List, error)
	StartTime(startTime timestamp.Timestamp) CandleStickServiceInterface
	EndTime(endTime timestamp.Timestamp) CandleStickServiceInterface
	Limit(limit int) CandleStickServiceInterface
	Period() period.Period
	Pair() pair.Pair
}

CandleStickServiceInterface is the interface for candle stick services

type Config

type Config struct {
	ApiKey    string `mapstructure:"api_key"`
	SecretKey string `mapstructure:"secret_key"`
}

type Interface

type Interface interface {
	CandleSticks(symbol pair.Pair, interval period.Period) (CandleStickServiceInterface, error)
}

Interface is an interface for service

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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