Documentation ¶
Index ¶
Constants ¶
View Source
const ( RestURL = "https://www.okx.com" RestURLAWS = "https://aws.okx.com" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configuration ¶
type OKXWS ¶
type OKXWS struct {
// contains filtered or unexported fields
}
func New ¶
func New(config *Configuration) *OKXWS
func (*OKXWS) GetBalance ¶
func (ex *OKXWS) GetBalance() interface{}
type WalletBalance ¶
type WalletBalance struct { Code string `json:"code"` Data []dataWalletBalance `json:"data"` Msg string `json:"msg"` }
https://www.okx.com/docs-v5/en/#rest-api-account-get-balance
func OKXToWalletBalance ¶
func OKXToWalletBalance(data interface{}) WalletBalance
Click to show internal directories.
Click to hide internal directories.