From 53d622daf55cf0d401027052329e6c022ee985ed Mon Sep 17 00:00:00 2001 From: c9s Date: Wed, 14 Sep 2022 19:08:54 +0800 Subject: [PATCH] pivotshort: add the kline object to the notification --- pkg/strategy/pivotshort/breaklow.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/strategy/pivotshort/breaklow.go b/pkg/strategy/pivotshort/breaklow.go index ac2feea87..dc54b020a 100644 --- a/pkg/strategy/pivotshort/breaklow.go +++ b/pkg/strategy/pivotshort/breaklow.go @@ -201,7 +201,7 @@ func (s *BreakLow) Bind(session *bbgo.ExchangeSession, orderExecutor *bbgo.Gener return } - bbgo.Notify("%s breakLow signal detected, closed price %f < breakPrice %f", kline.Symbol, closePrice.Float64(), breakPrice.Float64()) + bbgo.Notify("%s breakLow signal detected, closed price %f < breakPrice %f", kline.Symbol, closePrice.Float64(), breakPrice.Float64(), kline) if s.lastBreakLow.IsZero() || previousLow.Compare(s.lastBreakLow) < 0 { s.lastBreakLow = previousLow