You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cryptoClient:=crypto_exchange.NewClient(nil)
// list current prices for given market codescurrPrices, err:=cryptoClient.UpbitService.ListCurrentPriceByMarketCodes([]string{"KRW-BTC", "KRW-ETH", "BTC-ETH"})
iferr!=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 useraccounts, err:=cryptoClient.UpbitService.ListAccounts()
iferr!=nil {
logrus.Error(err)
}