Categorygithub.com/dangersalad/go-bitcoinaverage
modulepackage
0.4.0
Repository: https://github.com/dangersalad/go-bitcoinaverage.git
Documentation: pkg.go.dev

# README

bitcoinaverage

Go Report Card Go Doc Release

# Functions

NewClient returns a new Client instance with the keys set.

# Constants

BTCAUD is the price of 1 BTC in AUD.
BTCCNY is the price of 1 BTC in CNY.
BTCGBP is the price of 1 BTC in GBP.
BTCUSD is the price of 1 BTC in USD.
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

Changes holds the percent and price changes ising DWM stucts.
Client is a client to connect to the bitcoinaverage API.
DWM holds data for a set of float values dor "day", "week", and "month".
Exchange is the full data for a single exchange.
ExchangeSymbol is the data for an exhcnage's symbol.
HistoryData is the full data for a single exchange.
Ticker is the full data for a single ticker.
WebsocketCommand subscribes or unsubscribes from the ticker socket.
WebsocketCommandResponse is a message from the bitcoinaverae websocket in response to a WebsocketCommand.
WebsocketExchange holds the exchange data wrapped in the websocket JSON.
WebsocketOperation is the actual command being sent in a WebsocketCommand.
WebsocketOperationOptions are options for an operation.
WebsocketTicker holds the ticker data wrapped in the websocket JSON.
WebsocketTicket is the auth token used to connect the socket.

# Type aliases

No description provided by the author
MultiSet is Ticker data for multiple symbols in multiple symbol sets.
MultiTicker is Ticker data for multiple symbols.
Pair is a trading pair.