Registry / http-client / adshao-go-binance-v2

adshao-go-binance-v2

JSON →
library2.8.12gogounverified

A Golang SDK for interacting with Binance APIs, including trading and market data.

go get github.com/adshao/go-binance/v2
INSTALL
IMPORT
SIG · ADSHAO-GO-BINANCE-
A
adshao-go-binance-v2
http-clientgov2.8.12
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

binance
github.com/adshao/go-binance/v2

Fetch all current ticker prices from Binance.

package main import ( "context" "fmt" "github.com/adshao/go-binance/v2" ) func main() { client := binance.NewClient("", "") prices, err := client.NewListPricesService().Do(context.Background()) if err != nil { panic(err) } fmt.Println(prices) }
Debug
Known issues
gotchaAPI keys are required for authenticated endpoints; using empty strings will fail for private endpoints.
fix
Provide valid API key and secret when creating the client.
affects: >=2.0.0
Upgrade
Version history
2.8.12latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
44 hits · last 30 days
node
40
Resources
adshao-go-binance-v2 — go get adshao-go-binance-v2 · libregistry