Documentation ¶
Index ¶
Constants ¶
View Source
const (
Endpoint = "https://api.kraken.com/0/"
)
Variables ¶
This section is empty.
Functions ¶
func DecodeResponse ¶
func UnmarshalResponse ¶
func UnmarshalResponse(resp *resty.Response, v interface{}) error
Types ¶
type Ticker ¶
type Ticker struct { Time time.Time Ask [3]decimal.Decimal `json:"a"` Bid [3]decimal.Decimal `json:"b"` Last [2]decimal.Decimal `json:"c"` Volume [2]decimal.Decimal `json:"v"` AveragePrice [2]decimal.Decimal `json:"p"` Trades [2]int `json:"t"` High [2]decimal.Decimal `json:"h"` Low [2]decimal.Decimal `json:"l"` Open decimal.Decimal `json:"o"` }
Click to show internal directories.
Click to hide internal directories.