Documentation ¶
Index ¶
Constants ¶
View Source
const ( PairStatusPreTrading = "PRE_TRADING" PairStatusTrading = "TRADING" PairStatusPostTrading = "POST_TRADING" PairStatusEndOfDay = "END_OF_DAY" PairStatusHalt = "HALT" PairStatusAuctionMatch = "AUCTION_MATCH" PairStatusBreak = "BREAK" )
View Source
const (
Endpoint = "https://api.binance.com/api/v3"
)
Variables ¶
This section is empty.
Functions ¶
func DecodeResponse ¶
func UnmarshalResponse ¶
func UnmarshalResponse(resp *resty.Response, v interface{}) error
Types ¶
type Pair ¶ added in v0.0.6
type Pair struct { Symbol string `json:"symbol,omitempty"` Status PairStatus `json:"status,omitempty"` BaseAsset string `json:"baseAsset,omitempty"` QuoteAsset string `json:"quoteAsset,omitempty"` }
type PairStatus ¶ added in v0.0.6
type PairStatus string
Click to show internal directories.
Click to hide internal directories.