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.

19 lines
428 B

package market
import (
"github.com/shopspring/decimal"
"wss-pool/pkg/model/base"
)
type SubscribeMarketByPriceResponse struct {
base.WebSocketResponseBase
Tick *MarketByPrice
Data *MarketByPrice
}
type MarketByPrice struct {
SeqNum int64 `json:"seqNum"`
PrevSeqNum int64 `json:"prevSeqNum"`
Bids [][]decimal.Decimal `json:"bids"`
Asks [][]decimal.Decimal `json:"asks"`
}