Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DataResponse ¶
type OKX ¶
func NewOkxExchangeService ¶
func NewOkxExchangeService() *OKX
func (*OKX) GetTop10Exchanges ¶
func (o *OKX) GetTop10Exchanges(baseCurrency, quoteCurrency string, okxPayMethod PayMethod) ([]*Exchange, error)
GetTop10Exchanges 获取前10交易商家的 C2C 汇率 可指定不同的货币和支付方式
func (*OKX) GetUsdtCnyExchangeList ¶
GetUsdtCnyExchangeList 获取usdt到cny的前10个实时汇率结果列表
type Recommend ¶
type Recommend struct { RecommendedAd interface{} `json:"recommendedAd"` UserGroup int `json:"userGroup"` }
type SellItem ¶
type SellItem struct { AlreadyTraded bool `json:"alreadyTraded"` AvailableAmount string `json:"availableAmount"` BaseCurrency string `json:"baseCurrency"` Black bool `json:"black"` CancelledOrderQuantity int `json:"cancelledOrderQuantity"` CompletedOrderQuantity int `json:"completedOrderQuantity"` CompletedRate string `json:"completedRate"` CreatorType string `json:"creatorType"` GuideUpgradeKyc bool `json:"guideUpgradeKyc"` ID string `json:"id"` Intention bool `json:"intention"` IsInstitution int `json:"isInstitution"` MaxCompletedOrderQuantity int `json:"maxCompletedOrderQuantity"` MaxUserCreatedDate int `json:"maxUserCreatedDate"` MerchantID string `json:"merchantId"` MinCompletedOrderQuantity int `json:"minCompletedOrderQuantity"` MinCompletionRate string `json:"minCompletionRate"` MinKycLevel int `json:"minKycLevel"` MinSellOrders int `json:"minSellOrders"` Mine bool `json:"mine"` NickName string `json:"nickName"` PaymentMethods []string `json:"paymentMethods"` PaymentTimeoutMinutes int `json:"paymentTimeoutMinutes"` PosReviewPercentage string `json:"posReviewPercentage"` Price string `json:"price"` PublicUserID string `json:"publicUserId"` QuoteCurrency string `json:"quoteCurrency"` QuoteMaxAmountPerOrder string `json:"quoteMaxAmountPerOrder"` QuoteMinAmountPerOrder string `json:"quoteMinAmountPerOrder"` QuoteScale int `json:"quoteScale"` QuoteSymbol string `json:"quoteSymbol"` ReceivingAds bool `json:"receivingAds"` SafetyLimit bool `json:"safetyLimit"` Side string `json:"side"` UserActiveStatusVo interface{} `json:"userActiveStatusVo"` UserType string `json:"userType"` VerificationType int `json:"verificationType"` WhitelistedCountries []string `json:"whitelistedCountries"` }
Click to show internal directories.
Click to hide internal directories.