mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-26 16:55:15 +00:00
remove unused emit function calls
This commit is contained in:
parent
d930816672
commit
d2003bbc3d
|
@ -244,8 +244,6 @@ func (b *OrderBook) updateAsks(pvs PriceVolumeSlice) {
|
|||
b.Asks = b.Asks.Upsert(pv, false)
|
||||
}
|
||||
}
|
||||
|
||||
b.EmitAsksChange(b.Asks)
|
||||
}
|
||||
|
||||
func (b *OrderBook) updateBids(pvs PriceVolumeSlice) {
|
||||
|
@ -256,8 +254,6 @@ func (b *OrderBook) updateBids(pvs PriceVolumeSlice) {
|
|||
b.Bids = b.Bids.Upsert(pv, true)
|
||||
}
|
||||
}
|
||||
|
||||
b.EmitBidsChange(b.Bids)
|
||||
}
|
||||
|
||||
func (b *OrderBook) update(book OrderBook) {
|
||||
|
|
|
@ -2,6 +2,7 @@ package types
|
|||
|
||||
import "github.com/c9s/bbgo/pkg/fixedpoint"
|
||||
|
||||
// Color is the RB Tree color
|
||||
type Color bool
|
||||
|
||||
const (
|
||||
|
|
Loading…
Reference in New Issue
Block a user