/kraken-go-api-client

Example client library in GO for use with the kraken.com API.

Primary LanguageGoMIT LicenseMIT

Kraken GO API Client

A simple API Client for the Kraken Trading platform.

This is a fork of kraken-go-api-client which uses strings instead of typed symbol constants.

Example usage:

package main

import (
	"fmt"
	"log"

	"github.com/wthorp/kraken-go-api-client"
)

func main() {
	api := krakenapi.New("KEY", "SECRET")

	ticker, err := api.Ticker("STORJUSD")
	if err != nil {
		log.Fatal(err)
	}
	fmt.Printf("Bid price: %s\n", (*ticker)["STORJUSD"].Bid[0])
}