From fa3ca54a555e407990091830a75df650a949d29b Mon Sep 17 00:00:00 2001 From: c9s Date: Mon, 10 May 2021 23:52:17 +0800 Subject: [PATCH] improve warning messages --- pkg/strategy/xmaker/strategy.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/strategy/xmaker/strategy.go b/pkg/strategy/xmaker/strategy.go index 821b2aa4e..cd134a68c 100644 --- a/pkg/strategy/xmaker/strategy.go +++ b/pkg/strategy/xmaker/strategy.go @@ -356,7 +356,7 @@ func (s *Strategy) Hedge(ctx context.Context, pos fixedpoint.Value) { notional := quantity.MulFloat64(lastPrice) if notional.Float64() <= s.sourceMarket.MinNotional { - log.Warnf("less than min notional %f, skipping", notional.Float64()) + log.Warnf("%s %f less than min notional, skipping", s.Symbol, notional.Float64()) return }