mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-10 09:11:55 +00:00
types: fix order slack attachment
This commit is contained in:
parent
2c94ec427b
commit
d1c981e0b3
|
@ -245,7 +245,7 @@ func (o Order) PlainText() string {
|
|||
o.Status)
|
||||
}
|
||||
|
||||
func (o *Order) SlackAttachment() slack.Attachment {
|
||||
func (o Order) SlackAttachment() slack.Attachment {
|
||||
var fields = []slack.AttachmentField{
|
||||
{Title: "Exchange", Value: o.Exchange.String(), Short: true},
|
||||
{Title: "Symbol", Value: o.Symbol, Short: true},
|
||||
|
|
Loading…
Reference in New Issue
Block a user