mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-22 06:53:52 +00:00
add trade exchange back
This commit is contained in:
parent
940c675cae
commit
848d36f90b
|
@ -183,6 +183,7 @@ func (trade Trade) SlackAttachment() slack.Attachment {
|
|||
// Pretext: pretext,
|
||||
Color: color,
|
||||
Fields: []slack.AttachmentField{
|
||||
{Title: "Exchange", Value: trade.Exchange.String(), Short: true},
|
||||
{Title: "Price", Value: trimTrailingZeroFloat(trade.Price), Short: true},
|
||||
{Title: "Quantity", Value: trimTrailingZeroFloat(trade.Quantity), Short: true},
|
||||
{Title: "QuoteQuantity", Value: trimTrailingZeroFloat(trade.QuoteQuantity), Short: true},
|
||||
|
|
Loading…
Reference in New Issue
Block a user