mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-26 08:45: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)
|
log.WithError(err).Errorf(errMsg)
|
||||||
s.Notify(errMsg)
|
s.Notify(errMsg)
|
||||||
} else {
|
} else {
|
||||||
s.Notify("All orders cancelled.")
|
s.Notify("All {s.Symbol} orders are cancelled.")
|
||||||
}
|
}
|
||||||
|
|
||||||
// Save state
|
// Save state
|
||||||
|
|
Loading…
Reference in New Issue
Block a user