GitXplorerGitXplorer
j

go-binance

public
0 stars
1 forks
0 issues

Commits

List of commits on branch master.
Unverified
fe220b55ef5aebd91432b7255456d99720acaa78

Remove unused JSON fields that cause issues

jjyap808 committed 4 years ago
Unverified
0d03ae399eecbb7d2667cdd2fe124a1580dd0c60

Add Assets

jjyap808 committed 6 years ago
Unverified
dec0145aff26ce593ed6af6715a9972ec86a9b7d

More changes

jjyap808 committed 6 years ago
Unverified
f7e0192959b2c85b8b04c3a247d04290475559ed

Add GetAllAssets

jjyap808 committed 7 years ago
Unverified
be09b537d64b2b9936c5ad87c4bab5d095a969a4

Add exchangeInfo. Some clean ups

jjyap808 committed 7 years ago
Unverified
40d6914f4454947d0152126d1bbd5dbe054da37f

init

jjyap808 committed 7 years ago

README

The README file for this repository.

go-binance

go-binance is an implementation of the Binance API (public and private) in Golang.

Based off of https://github.com/toorop/go-bittrex/

This library is more of a framework for some bots I use so it is expected that a lot of things don't work but pull requests are excepted.

Import

import "github.com/jyap808/go-binance"

Usage

package main

import (
    "fmt"
    "github.com/jyap808/go-binance"
)

const (
    API_KEY    = "YOUR_API_KEY"
    API_SECRET = "YOUR_API_SECRET"
)

func main() {
    // Binance client
    binance := binance.New(API_KEY, API_SECRET)

    // Get tickers
    tickers, err := binance.GetTickers()
    fmt.Println(err, tickers)
}

See "Examples" folder for more... examples

Stay tuned

Follow me on Twitter