diff --git a/pkg/strategy/xmaker/strategy.go b/pkg/strategy/xmaker/strategy.go index 2190b1aca..31e2eeafb 100644 --- a/pkg/strategy/xmaker/strategy.go +++ b/pkg/strategy/xmaker/strategy.go @@ -677,12 +677,6 @@ func (s *Strategy) Hedge(ctx context.Context, pos fixedpoint.Value) { } } - notional := quantity.Mul(lastPrice) - if notional.Compare(s.sourceMarket.MinNotional) <= 0 { - log.Warnf("%s %v less than min notional, skipping hedge", s.Symbol, notional) - return - } - // adjust quantity according to the balances account := s.sourceSession.GetAccount() switch side { @@ -934,10 +928,9 @@ func (s *Strategy) hedgeWorker(ctx context.Context) { ) s.Hedge(ctx, uncoverPosition.Neg()) + profitChanged = true } - profitChanged = true - case <-reportTicker.C: if profitChanged { if s.reportProfitStatsRateLimiter.Allow() {