Documentation ¶
Index ¶
- type BookTicker
- func (i *BookTicker) Equal(than btree.Item) bool
- func (btt *BookTicker) GetAskPrice() depths_items.PriceType
- func (btt *BookTicker) GetAskQuantity() depths_items.QuantityType
- func (btt *BookTicker) GetAskValue() depths_items.ValueType
- func (btt *BookTicker) GetBidPrice() depths_items.PriceType
- func (btt *BookTicker) GetBidQuantity() depths_items.QuantityType
- func (btt *BookTicker) GetBidValue() depths_items.ValueType
- func (btt *BookTicker) GetSymbol() string
- func (btt *BookTicker) GetUpdateID() int64
- func (i *BookTicker) Less(than btree.Item) bool
- func (btt *BookTicker) SetAskPrice(askPrice depths_items.PriceType)
- func (btt *BookTicker) SetAskQuantity(askQuantity depths_items.QuantityType)
- func (btt *BookTicker) SetBidPrice(bidPrice depths_items.PriceType)
- func (btt *BookTicker) SetBidQuantity(bidQuantity depths_items.QuantityType)
- func (btt *BookTicker) SetUpdateID(updateID int64)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BookTicker ¶
type BookTicker struct { Symbol string // contains filtered or unexported fields }
func New ¶
func New( symbol string, bidPrice depths_items.PriceType, bidQuantity depths_items.QuantityType, askPrice depths_items.PriceType, askQuantity depths_items.QuantityType, updateID ...int64) *BookTicker
func (*BookTicker) GetAskPrice ¶
func (btt *BookTicker) GetAskPrice() depths_items.PriceType
func (*BookTicker) GetAskQuantity ¶
func (btt *BookTicker) GetAskQuantity() depths_items.QuantityType
func (*BookTicker) GetAskValue ¶
func (btt *BookTicker) GetAskValue() depths_items.ValueType
func (*BookTicker) GetBidPrice ¶
func (btt *BookTicker) GetBidPrice() depths_items.PriceType
func (*BookTicker) GetBidQuantity ¶
func (btt *BookTicker) GetBidQuantity() depths_items.QuantityType
func (*BookTicker) GetBidValue ¶
func (btt *BookTicker) GetBidValue() depths_items.ValueType
func (*BookTicker) GetSymbol ¶
func (btt *BookTicker) GetSymbol() string
func (*BookTicker) GetUpdateID ¶
func (btt *BookTicker) GetUpdateID() int64
func (*BookTicker) SetAskPrice ¶
func (btt *BookTicker) SetAskPrice(askPrice depths_items.PriceType)
func (*BookTicker) SetAskQuantity ¶
func (btt *BookTicker) SetAskQuantity(askQuantity depths_items.QuantityType)
func (*BookTicker) SetBidPrice ¶
func (btt *BookTicker) SetBidPrice(bidPrice depths_items.PriceType)
func (*BookTicker) SetBidQuantity ¶
func (btt *BookTicker) SetBidQuantity(bidQuantity depths_items.QuantityType)
func (*BookTicker) SetUpdateID ¶
func (btt *BookTicker) SetUpdateID(updateID int64)
Click to show internal directories.
Click to hide internal directories.