From 78f10212b91ff455f680078d074b9679bf192850 Mon Sep 17 00:00:00 2001 From: c9s Date: Thu, 15 Dec 2022 18:57:21 +0800 Subject: [PATCH] grid2: fix base fee format --- pkg/strategy/grid2/strategy.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/strategy/grid2/strategy.go b/pkg/strategy/grid2/strategy.go index 25c04c3ae..83a039576 100644 --- a/pkg/strategy/grid2/strategy.go +++ b/pkg/strategy/grid2/strategy.go @@ -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) }