kraken

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2021 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReplaceAssets

func ReplaceAssets(assetToReplace string) string

Types

type AssetsInfo added in v1.2.0

type AssetsInfo struct {
	Error  []string    `json:"error"`
	Result interface{} `json:"result"`
}

type Kraken

type Kraken struct {
	TXsByCategory wallet.TXsByCategory
	Sources       source.Sources
	// contains filtered or unexported fields
}

func New

func New() *Kraken

func (*Kraken) GetAPIAllTXs added in v1.2.0

func (kr *Kraken) GetAPIAllTXs()

func (*Kraken) MergeTXs added in v1.2.0

func (kr *Kraken) MergeTXs()

func (*Kraken) NewAPI added in v1.2.0

func (kr *Kraken) NewAPI(apiKey, secretKey string, debug bool)

func (*Kraken) ParseCSV

func (kr *Kraken) ParseCSV(reader io.Reader, cat category.Category, account string) (err error)

func (*Kraken) WaitFinish added in v1.2.0

func (kr *Kraken) WaitFinish(account string) error

type TradesHistory added in v1.2.0

type TradesHistory struct {
	Error  []string    `json:"error"`
	Result interface{} `json:"result"`
}

Jump to

Keyboard shortcuts

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