diff --git a/pkg/bbgo/profitstats.go b/pkg/bbgo/profitstats.go index da6c12492..1e8867074 100644 --- a/pkg/bbgo/profitstats.go +++ b/pkg/bbgo/profitstats.go @@ -52,10 +52,10 @@ func (p *Profit) SlackAttachment() slack.Attachment { if p.Profit > 0 { color = types.GreenColor - title = "+" + p.Profit.String() + " " + p.QuoteCurrency + title += "+" + p.Profit.String() + " " + p.QuoteCurrency } else { color = types.RedColor - title = p.Profit.String() + " " + p.QuoteCurrency + title += p.Profit.String() + " " + p.QuoteCurrency } var fields []slack.AttachmentField