mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-10 09:11:55 +00:00
call b.EmitNew() when new order is added into activeorderbook
This commit is contained in:
parent
25a2203000
commit
1f8b2b3710
|
@ -359,6 +359,7 @@ func (b *ActiveOrderBook) Add(orders ...types.Order) {
|
||||||
}
|
}
|
||||||
|
|
||||||
b.add(order)
|
b.add(order)
|
||||||
|
b.EmitNew(order)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user