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: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTransactionLogReader

func NewTransactionLogReader() common.TransactionLogReader

Types

type KrkTransaction

type KrkTransaction struct {
	ID        string  `csv:"txid"      json:"id"`
	OrderTxID string  `csv:"ordertxid" json:"ordertxid"`
	Pair      string  `csv:"pair"      json:"assetpair"`
	CreatedAt string  `csv:"time"      json:"created"`
	Side      string  `csv:"type"      json:"side"`
	OrderType string  `csv:"ordertype" json:"ordertype"`
	Price     float64 `csv:"price"     json:"price"`
	Total     float64 `csv:"cost"      json:"cost"`
	Fee       float64 `csv:"fee"       json:"fee"`
	Size      float64 `csv:"vol"       json:"size"`
	Margin    float64 `csv:"margin"    json:"margin"`
	Misc      string  `csv:"misc"      json:"notes"`
	Ledgers   string  `csv:"ledgers"   json:"ledgers"`
}

Jump to

Keyboard shortcuts

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