add profit report text

This commit is contained in:
c9s 2020-08-08 10:13:35 +08:00
parent cd7411d530
commit 4f3432d4bf

View File

@ -163,7 +163,8 @@ func (report ProfitAndLossReport) SlackAttachment() slack.Attachment {
}
return slack.Attachment{
Title: "Profit and Loss report of " + report.Symbol,
Title: report.Symbol + " Profit and Loss report",
Text: "Profit " + USD.FormatMoney(report.Profit),
Color: color,
// Pretext: "",
// Text: "",