From 7f0325b19369326abf288663b0563ef18bb97a2c Mon Sep 17 00:00:00 2001 From: c9s Date: Thu, 7 Mar 2024 13:38:56 +0800 Subject: [PATCH] xfunding: remove debug code --- pkg/strategy/xfunding/strategy.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/pkg/strategy/xfunding/strategy.go b/pkg/strategy/xfunding/strategy.go index 7cb444a75..f4b8c9c72 100644 --- a/pkg/strategy/xfunding/strategy.go +++ b/pkg/strategy/xfunding/strategy.go @@ -829,9 +829,6 @@ func (s *Strategy) syncFuturesPosition(ctx context.Context) { bbgo.Notify("SpotPosition", s.SpotPosition) bbgo.Notify("FuturesPosition", s.FuturesPosition) bbgo.Notify("NeutralPosition", s.NeutralPosition) - - // DEBUG CODE - triggering closing position automatically - // s.startClosingPosition() return }