From df10e175f995de9cefd6dc896aa9ac9e83d8c2c8 Mon Sep 17 00:00:00 2001 From: c9s Date: Sat, 29 May 2021 01:32:33 +0800 Subject: [PATCH] xmaker: fix wording --- 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 aef16a737..f781e8f64 100644 --- a/pkg/strategy/xmaker/strategy.go +++ b/pkg/strategy/xmaker/strategy.go @@ -576,7 +576,7 @@ func (s *Strategy) processTrade(trade types.Trade) { since = time.Unix(s.state.AccumulatedSince, 0).In(localTimeZone) } - s.Notify("%s trade profit %s %f %s (%.2f%%), net profit =~ %f %s (%.2f%%), since %s accumulated net profit %f %s, accumulated loss %f %s", + s.Notify("%s trade profit %s %f %s (%.2f%%), net profit =~ %f %s (%.2f%%), since %s accumulated PnL %f %s, accumulated loss %f %s", s.Symbol, pnlEmoji(profit), profit.Float64(), s.state.Position.QuoteCurrency,