liqmaker: fix nil map issue

This commit is contained in:
c9s 2024-10-28 17:03:45 +08:00
parent 7f905a2956
commit 48bb7a280b
No known key found for this signature in database
GPG Key ID: 7385E7E464CB0A54

View File

@ -99,7 +99,7 @@ func (s *Strategy) Initialize() error {
s.metricsLabels = prometheus.Labels{
"strategy_type": ID,
"strategy_id": s.InstanceID(),
"exchange": string(s.Session.Exchange.Name()),
"exchange": "", // FIXME
"symbol": s.Symbol,
}