All Projects → Zauberstuhl → go-coinbase

Zauberstuhl / go-coinbase

Licence: GPL-3.0 License
Coinbase Golang APIv2 Library

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to go-coinbase

Krypto Trading Bot
Self-hosted crypto trading bot (automated high frequency market making) written in C++
Stars: ✭ 2,589 (+12228.57%)
Mutual labels:  coinbase
gdax
GDAX PHP API Client Library
Stars: ✭ 15 (-28.57%)
Mutual labels:  coinbase
CoinTaxman
Calculate your taxes from cryptocurrency gains
Stars: ✭ 110 (+423.81%)
Mutual labels:  coinbase
Blankly
🚀 💸 Easily build, backtest and deploy your algo in just a few lines of code. Trade stocks, cryptos, and forex across exchanges w/ one package.
Stars: ✭ 1,456 (+6833.33%)
Mutual labels:  coinbase
Pi-Trader
A cryptocurrency day-trading bot for Raspberry Pi.
Stars: ✭ 44 (+109.52%)
Mutual labels:  coinbase
coinbase-pro-rs
Coinbase pro client for Rust
Stars: ✭ 127 (+504.76%)
Mutual labels:  coinbase
Coinbasepro Csharp
The unofficial .NET/C# client library for the Coinbase Pro/GDAX API
Stars: ✭ 143 (+580.95%)
Mutual labels:  coinbase
coinbase-moneymoney
Fetches balances from Coinbase API and returns them as securities
Stars: ✭ 18 (-14.29%)
Mutual labels:  coinbase
add-tradingview-alerts-tool
Automated entry of TradingView alerts for bot trading tools such as 3Commas, Alertatron, CryptoHopper, etc.
Stars: ✭ 467 (+2123.81%)
Mutual labels:  coinbase
Nescience-Indexing-CLI
Nescience Software & Capital Rebalancing Tool
Stars: ✭ 26 (+23.81%)
Mutual labels:  coinbase
CryptoTickerBot
A .NET Core program to fetch ticker data from various crypto exchange websites.
Stars: ✭ 30 (+42.86%)
Mutual labels:  coinbase
cryptoprom
CryptoProm is a Prometheus metrics exporter for Cryptocurrency market prices.
Stars: ✭ 19 (-9.52%)
Mutual labels:  coinbase
algo-coin
Python library for algorithmic trading cryptocurrencies across multiple exchanges
Stars: ✭ 386 (+1738.1%)
Mutual labels:  coinbase
Go Quote
Yahoo finance/Google finance/Coinbase/Bittrex/Binance/Tiingo historical quote downloader library and cli written in golang
Stars: ✭ 198 (+842.86%)
Mutual labels:  coinbase
BitView
A crypto portfolio written in Flutter. It supports Binance, Bittrex, HitBTC, Coinbase, Coinbase Pro and Mercatox
Stars: ✭ 50 (+138.1%)
Mutual labels:  coinbase
Coinbase Exchange Order Book
Real-time Coinbase Exchange (GDAX) order book + basic market maker bot
Stars: ✭ 177 (+742.86%)
Mutual labels:  coinbase
profbit
Track your Coinbase profits!
Stars: ✭ 37 (+76.19%)
Mutual labels:  coinbase
coinbase-fix-example
Simple example application for Coinbase Pro FIX API
Stars: ✭ 42 (+100%)
Mutual labels:  coinbase
Coinbase.Pro
📈 A .NET/C# implementation of the Coinbase Pro API.
Stars: ✭ 63 (+200%)
Mutual labels:  coinbase
financial-asset-comparison-tool
R Shiny app to compare the relative performance of cryptos and equities.
Stars: ✭ 97 (+361.9%)
Mutual labels:  coinbase

Coinbase Golang API Library

Build Status GoDoc Codecov

The library was tested against coinbase.com APIv2

Installation

go get github.com/Zauberstuhl/go-coinbase

# or use gopkg for specific versions
go get gopkg.in/Zauberstuhl/go-coinbase.v1.0.0

Supported API Calls

  • Wallet Endpoints
  • Users
  • Accounts
  • Addresses
  • Transactions
  • Buys
  • Sells
  • Deposits
  • Withdrawals
  • Payment methods
  • Data Endpoints
  • Currencies
  • Exchange rates
  • Prices
  • Time

Example

import "github.com/Zauberstuhl/go-coinbase"

c := coinbase.APIClient{
  Key: "123",
  Secret: "123456",
}

acc, err := c.Accounts()
if err != nil {
  fmt.Println(err)
  return
}

for _, acc := range acc.Data {
  fmt.Printf("ID: %s\nName: %s\nType: %s\nAmount: %f\nCurrency: %s\n",
    acc.Id, acc.Name, acc.Type,
    acc.Balance.Amount, acc.Balance.Currency)
}

# sample output
ID: 1234-12-1234-1232
Name: Test Wallet
Type: BTC
Amount: 0.0
Currency: EUR
[...]

Unit Tests

Run all available unit tests via:

go test

Most of the tests require a internet connection!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].