xmaker: fix signal depth metrics
Some checks are pending
Go / build (1.21, 6.2) (push) Waiting to run
golang-lint / lint (push) Waiting to run

This commit is contained in:
c9s 2024-10-01 16:52:34 +08:00
parent 7e908c3ff7
commit 5e7627cc7a
No known key found for this signature in database
GPG Key ID: 7385E7E464CB0A54

View File

@ -41,7 +41,7 @@ func (s *DepthRatioSignal) Bind(ctx context.Context, session *bbgo.ExchangeSessi
}
s.symbol = symbol
orderBookSignalMetrics.WithLabelValues(s.symbol).Set(0.0)
depthRatioSignalMetrics.WithLabelValues(s.symbol).Set(0.0)
return nil
}