Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OrderBook ¶
type OrderBook struct {
Sequence uint64 //Sequence || UpdateID
Asks *skiplist.SkipList //ask 是 要价,喊价 卖家 卖单 Sort price from low to high
Bids *skiplist.SkipList //bid 是 投标,买家 买单 Sort price from high to low
}
func NewOrderBook ¶
func NewOrderBook() *OrderBook
func (*OrderBook) GetPartOrderBookBySide ¶
func (*OrderBook) MarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.