kraken

package
v0.0.0-...-e82c919 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2018 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const INTERVAL = 3

Variables

View Source
var KrakenLedgerFlags struct {
	Format string
	Merged bool
	Count  int
	Type   string
}
View Source
var TickerFlags struct {
	Once     bool
	Interval int64
}

Functions

func KrakenGetCmd

func KrakenGetCmd(args []string)

func KrakenGetTrades

func KrakenGetTrades(opts *pflag.FlagSet, args []string)

func KrakenLedgerCmd

func KrakenLedgerCmd()

func KrakenPostCmd

func KrakenPostCmd(args []string)

func Ticker

func Ticker(args []string)

Types

type MergedEntry

type MergedEntry struct {
	Type string

	In  kraken.LedgerEntry
	Out kraken.LedgerEntry

	HasIn  bool
	HasOut bool
}

MergedEntry contains the pair of ledge entries where one is the asset in, and the other is the asset out.

type Trade

type Trade struct {
	Timestamp time.Time
	Type      string
	Pair      string
	Cost      string
	Fee       string
	Fee2      float64
	Volume    string
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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