Categorygithub.com/lokopay/krakenapi-go
modulepackage
0.0.5
Repository: https://github.com/lokopay/krakenapi-go.git
Documentation: pkg.go.dev

# README

krakenapi-go

A Kraken WebSocket API for Go by crankykernel

WebSocket Support

Currently supports the following websocket API features:

  • Application ping
  • Tickers
  • OHLC
  • Spread

WebSocket Example

https://github.com/crankykernel/krakenapi-go/blob/master/example_socket_test.go

# Packages

No description provided by the author

# Functions

No description provided by the author
DecodeOHLC decodes an array into an OHLC.
DecodeSpread decodes the input instead a Spread struct.
DecodeTicker decodes an array into a Ticker.
No description provided by the author
No description provided by the author
No description provided by the author
Given a common pair naming, return the Kraken format for the REST API.
Given a common pair naming, return the Kraken format for websockets.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
OHLC is the decoded OHLC event for a pair.
No description provided by the author
No description provided by the author
No description provided by the author
Spread represents a decoded spread event for a pair.
No description provided by the author
Ticker is the decoded representation of a ticker.
No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author
Interval is a set of constants for OHLC intervals.
No description provided by the author
No description provided by the author