kraken

package
v0.0.0-...-f545d20 Latest Latest
Warning

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

Go to latest
Published: May 13, 2022 License: Apache-2.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 Kraken

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

Kraken reads from the public OHLC API.

func New

func New(baseURL string) *Kraken

func (*Kraken) Read

func (k *Kraken) Read(
	pair common.AssetPair,
	since time.Time,
	interval time.Duration,
) []common.TxOHCHistory

func (*Kraken) SetExchangeName

func (k *Kraken) SetExchangeName(name string)

Jump to

Keyboard shortcuts

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