From 848d36f90ba3c548ded8bb2bae5ddd095f4c0421 Mon Sep 17 00:00:00 2001 From: c9s Date: Tue, 11 Jan 2022 22:50:38 +0800 Subject: [PATCH] add trade exchange back --- pkg/types/trade.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/types/trade.go b/pkg/types/trade.go index c6c7bf13e..21c3a8e4b 100644 --- a/pkg/types/trade.go +++ b/pkg/types/trade.go @@ -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},