mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-26 00:35:15 +00:00
grid2: add warning message
This commit is contained in:
parent
bbc47bb63a
commit
fa73b0e7f7
|
@ -388,6 +388,7 @@ func (s *Strategy) processFilledOrder(o types.Order) {
|
|||
// handleOrderFilled is called when an order status is FILLED
|
||||
func (s *Strategy) handleOrderFilled(o types.Order) {
|
||||
if s.grid == nil {
|
||||
s.logger.Warn("grid is not opened yet, skip order update event")
|
||||
return
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user