Merge pull request #1636 from zenixls2/fix/tg_order

fix: tg order decimal
This commit is contained in:
c9s 2024-05-20 01:44:46 +08:00 committed by GitHub
commit 970c1bb8c7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -365,9 +365,9 @@ func (o Order) PlainText() string {
o.Symbol,
o.Type,
o.Side,
o.Price.FormatString(2),
o.ExecutedQuantity.FormatString(2),
o.Quantity.FormatString(4),
o.Price.String(),
o.ExecutedQuantity.String(),
o.Quantity.String(),
o.Status)
}