Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultClient ¶
func SystemStatusPath ¶
func SystemStatusPath(args client.EndpointArgs) string
Get the current system status or trading mode.
Types ¶
type Endpoint ¶
type Endpoint int
* This is a generated file, do not edit
const ( ServerTimeEndpoint Endpoint SystemStatusEndpoint )
type MarketData ¶
MarketData is a structure used to maintain state while querying on kraken market data
func NewMarketData ¶
func NewMarketData(conn client.Connector) *MarketData
NewMarketData will return a new MarketDAta struct to query market data on
func (*MarketData) ServerTime ¶
func (marketData *MarketData) ServerTime() (m *model.KrakenServerTime, err error)
Get the server's time.
* source: https://docs.kraken.com/rest/#operation/getServerTime
func (*MarketData) SystemStatus ¶
func (marketData *MarketData) SystemStatus() (m *model.KrakenSystemStatus, err error)
Get the current system status or trading mode.
* source: https://docs.kraken.com/rest/#operation/getSystemStatus
Click to show internal directories.
Click to hide internal directories.