feature: logging with strategy symbol

This commit is contained in:
Andy Cheng 2022-04-21 17:56:31 +08:00
parent f6ec931bed
commit 324c7ea432

View File

@ -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