From 1dfb0cd1a146728b421c7ca587835970c450320e Mon Sep 17 00:00:00 2001 From: c9s Date: Thu, 1 Jun 2023 12:13:51 +0800 Subject: [PATCH] autoborrow: notify balance delta event --- pkg/strategy/autoborrow/strategy.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/strategy/autoborrow/strategy.go b/pkg/strategy/autoborrow/strategy.go index c1885948a..27980ff79 100644 --- a/pkg/strategy/autoborrow/strategy.go +++ b/pkg/strategy/autoborrow/strategy.go @@ -350,6 +350,8 @@ func (s *Strategy) handleBalanceUpdate(balances types.BalanceMap) { } func (s *Strategy) handleBinanceBalanceUpdateEvent(event *binance.BalanceUpdateEvent) { + bbgo.Notify(event) + if s.MinMarginLevel.IsZero() { return }