grid2: fix base fee format

This commit is contained in:
c9s 2022-12-15 18:57:21 +08:00
parent fcd7a20b78
commit 78f10212b9
No known key found for this signature in database
GPG Key ID: 7385E7E464CB0A54

View File

@ -321,7 +321,7 @@ func (s *Strategy) processFilledOrder(o types.Order) {
if o.Side == types.SideTypeBuy {
baseSellQuantityReduction = s.aggregateOrderBaseFee(o)
s.logger.Infof("buy order base fee: %f %s", baseSellQuantityReduction.Float64(), s.Market.BaseCurrency)
s.logger.Infof("GRID BUY ORDER BASE FEE: %s %s", baseSellQuantityReduction.String(), s.Market.BaseCurrency)
newQuantity = newQuantity.Sub(baseSellQuantityReduction)
}