GeezerVison is showing github.com — GitHub - dojinkimm/cryptoexchange-go: API wrapper for cryptocurrency exchanges impemented in golang
Folders and files
| Name | Name | Last commit message | Last commit date |
|---|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
|
Repository files navigation
Cryptocurrency Exchange APIs in Go
TBD
go get -u github.com/dojinkimm/cryptoexchange-go
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)
}
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 |
| 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