@@ -18,35 +18,37 @@ type TokenInfo struct {
1818}
1919
2020type Ticker struct {
21- BaseTokenID uint64 `json:"base_token_id"`
22- QuoteTokenID uint64 `json:"quote_token_id"`
23- PriceChange string `json:"price_change"`
24- PriceChangePercent string `json:"price_change_percent"`
25- WeightedAvgPrice string `json:"weighted_avg_price"`
26- PrevClosePrice string `json:"prev_close_price"`
27- LastPrice string `json:"last_price"`
28- LastQty string `json:"last_qty"`
29- BidPrice string `json:"bid_price"`
30- BidQty string `json:"bid_qty"`
31- AskPrice string `json:"ask_price"`
32- AskQty string `json:"ask_qty"`
33- OpenPrice string `json:"open_price"`
34- HighPrice string `json:"high_price"`
35- LowPrice string `json:"low_price"`
36- Volume string `json:"volume"`
37- QuoteVolume string `json:"quote_volume"`
38- OpenTime int64 `json:"open_time"`
39- CloseTime int64 `json:"close_time"`
40- FirstId string `json:"first_id"`
41- LastId string `json:"last_id"`
42- Count uint64 `json:"count"`
43- WeekHighPrice string `json:"week_high_price"`
44- WeekLowPrice string `json:"week_low_price"`
45- BaseTokenPrice string `json:"base_token_price"`
46- QuoteTokenPrice string `json:"quote_token_price"`
47- MakerFee string `json:"maker_fee"`
48- TakerFee string `json:"taker_fee"`
49- PairId uint64 `json:"pair_id"`
21+ BaseTokenID uint64 `json:"base_token_id"`
22+ QuoteTokenID uint64 `json:"quote_token_id"`
23+ PriceChange string `json:"price_change"`
24+ PriceChangePercent string `json:"price_change_percent"`
25+ WeightedAvgPrice string `json:"weighted_avg_price"`
26+ PrevClosePrice string `json:"prev_close_price"`
27+ LastPrice string `json:"last_price"`
28+ LastQty string `json:"last_qty"`
29+ BidPrice string `json:"bid_price"`
30+ BidQty string `json:"bid_qty"`
31+ AskPrice string `json:"ask_price"`
32+ AskQty string `json:"ask_qty"`
33+ OpenPrice string `json:"open_price"`
34+ HighPrice string `json:"high_price"`
35+ LowPrice string `json:"low_price"`
36+ Volume string `json:"volume"`
37+ QuoteVolume string `json:"quote_volume"`
38+ OpenTime int64 `json:"open_time"`
39+ CloseTime int64 `json:"close_time"`
40+ FirstId string `json:"first_id"`
41+ LastId string `json:"last_id"`
42+ Count uint64 `json:"count"`
43+ WeekHighPrice string `json:"week_high_price"`
44+ WeekLowPrice string `json:"week_low_price"`
45+ BaseTokenPrice string `json:"base_token_price"`
46+ QuoteTokenPrice string `json:"quote_token_price"`
47+ MakerFee string `json:"maker_fee"`
48+ TakerFee string `json:"taker_fee"`
49+ PairId uint64 `json:"pair_id"`
50+ BaseToken * binance.ShowTokenData `json:"base_token"`
51+ QuoteToken * binance.ShowTokenData `json:"quote_token"`
5052}
5153
5254func (t * Ticker ) ToBookTicker () (bookTicker * BookTicker ) {
0 commit comments