mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-25 16:25:16 +00:00
fix quote quantity label
This commit is contained in:
parent
b343ecad61
commit
1b454be0f3
|
@ -96,8 +96,8 @@ func (trade Trade) SlackAttachment() slack.Attachment {
|
|||
Fields: []slack.AttachmentField{
|
||||
{Title: "Exchange", Value: trade.Exchange, Short: true},
|
||||
{Title: "Price", Value: util.FormatFloat(trade.Price, 2), Short: true},
|
||||
{Title: "Volume", Value: util.FormatFloat(trade.Quantity, 4), Short: true},
|
||||
{Title: "Quantity", Value: util.FormatFloat(trade.QuoteQuantity, 2)},
|
||||
{Title: "Quote", Value: util.FormatFloat(trade.Quantity, 4), Short: true},
|
||||
{Title: "QuoteQuantity", Value: util.FormatFloat(trade.QuoteQuantity, 2)},
|
||||
{Title: "Fee", Value: util.FormatFloat(trade.Fee, 4), Short: true},
|
||||
{Title: "FeeCurrency", Value: trade.FeeCurrency, Short: true},
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue
Block a user