Skip to content

Commit

Permalink
call b.EmitNew() when new order is added into activeorderbook
Browse files Browse the repository at this point in the history
  • Loading branch information
lanphan committed Sep 14, 2024
1 parent 25a2203 commit 1f8b2b3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/bbgo/activeorderbook.go
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,7 @@ func (b *ActiveOrderBook) Add(orders ...types.Order) {
}

b.add(order)
b.EmitNew(order)
}
}

Expand Down

0 comments on commit 1f8b2b3

Please sign in to comment.