mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-26 08:45:16 +00:00
add profit report text
This commit is contained in:
parent
cd7411d530
commit
4f3432d4bf
|
@ -163,7 +163,8 @@ func (report ProfitAndLossReport) SlackAttachment() slack.Attachment {
|
||||||
}
|
}
|
||||||
|
|
||||||
return 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,
|
Color: color,
|
||||||
// Pretext: "",
|
// Pretext: "",
|
||||||
// Text: "",
|
// Text: "",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user