Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cryptocurrency Exchange APIs in Go

TBD

Installation

go get -u github.com/dojinkimm/cryptoexchange-go

Usage

Public Information

cryptoClient := crypto_exchange.NewClient(nil)

// list current prices for given market codes
currPrices, err := cryptoClient.UpbitService.ListCurrentPriceByMarketCodes([]string{"KRW-BTC", "KRW-ETH", "BTC-ETH"})
if err != nil {
    logrus.Error(err)
}

Private Information

accessKey := "<--Add Your Access Key Here-->"
secretKey := "<--Add Your Secret Key Here-->"

cryptoClient := crypto_exchange.NewClient(
    nil,
    crypto_exchange.WithAccessKey(accessKey),
    crypto_exchange.WithSecretKey(secretKey),
)

// list account information for given accessKey and secretKey user
accounts, err := cryptoClient.UpbitService.ListAccounts()
if err != nil {
    logrus.Error(err)
}

Supported Cryptocurrency Exchanges

Cryptocurrency Exchange REST Supported Websocket Support
Upbit Yes No

Supported APIs

APIs Upbit
List All Accounts
List Tradable Market Codes
Get Current Price of Market Code
Order

About

API wrapper for cryptocurrency exchanges impemented in golang

Topics

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages