You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
444 B
18 lines
444 B
package market
|
|
|
|
import (
|
|
"github.com/shopspring/decimal"
|
|
"wss-pool/pkg/model/base"
|
|
)
|
|
|
|
type SubscribeBestBidOfferResponse struct {
|
|
base.WebSocketResponseBase
|
|
Tick *struct {
|
|
QuoteTime int64 `json:"quoteTime"`
|
|
Symbol string `json:"symbol"`
|
|
Bid decimal.Decimal `json:"bid"`
|
|
BidSize decimal.Decimal `json:"bidSize"`
|
|
Ask decimal.Decimal `json:"ask"`
|
|
AskSize decimal.Decimal `json:"askSize"`
|
|
}
|
|
}
|
|
|