Documentation
¶
Index ¶
Constants ¶
View Source
const ( Endpoint = "https://api.binance.com" WebsocketEndpoint = "wss://stream.binance.com:9443" )
Variables ¶
This section is empty.
Functions ¶
func UnmarshalResponse ¶
Types ¶
type Ticker ¶
type Ticker struct {
Timestamp int64 `json:"E"`
Event string `json:"e"`
Symbol string `json:"s"`
Close decimal.Decimal `json:"c"`
Open decimal.Decimal `json:"o"`
High decimal.Decimal `json:"h"`
Low decimal.Decimal `json:"l"`
BaseVolume decimal.Decimal `json:"v"`
QuoteVolume decimal.Decimal `json:"q"`
}
Click to show internal directories.
Click to hide internal directories.