mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-26 00:35:15 +00:00
types: show exchange name in the trade footer
This commit is contained in:
parent
439685141f
commit
e2f7790a4e
|
@ -182,7 +182,7 @@ func (trade Trade) SlackAttachment() slack.Attachment {
|
|||
{Title: "Order ID", Value: strconv.FormatUint(trade.OrderID, 10), Short: true},
|
||||
},
|
||||
FooterIcon: footerIcon,
|
||||
Footer: util.Render("trade time {{ . }}", trade.Time.Time().Format(time.StampMilli)),
|
||||
Footer: strings.ToLower(trade.Exchange.String()) + util.Render(" creation time {{ . }}", trade.Time.Time().Format(time.StampMilli)),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user