mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-22 14:55:16 +00:00
feature: logging with strategy symbol
This commit is contained in:
parent
f6ec931bed
commit
324c7ea432
|
@ -403,7 +403,7 @@ func (s *Strategy) Run(ctx context.Context, orderExecutor bbgo.OrderExecutor, se
|
|||
log.WithError(err).Errorf(errMsg)
|
||||
s.Notify(errMsg)
|
||||
} else {
|
||||
s.Notify("All orders cancelled.")
|
||||
s.Notify("All {s.Symbol} orders are cancelled.")
|
||||
}
|
||||
|
||||
// Save state
|
||||
|
|
Loading…
Reference in New Issue
Block a user