From e74c9840af255020feb97e6d402a60a50d6262c3 Mon Sep 17 00:00:00 2001 From: "zhangkun9038@dingtalk.com" Date: Thu, 26 Dec 2024 16:09:19 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=B8=AAbug=E8=B2=8C=E4=BC=BC?= =?UTF-8?q?=E5=B7=B2=E7=BB=8F=E8=A7=A3=E5=86=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- candle.go | 1 + 1 file changed, 1 insertion(+) diff --git a/candle.go b/candle.go index 39d98a3..868ce9c 100644 --- a/candle.go +++ b/candle.go @@ -184,6 +184,7 @@ func (core *Core) SaveCandle(instId string, period string, rsp *CandleData, dura tmi := ToInt64(v[0]) last := ToInt64(v[4]) if last == 0 { + logrus.Info("saveCandles last is 0: ", leng, " instId: ", instId, " period: ", period, " length of rsp.Data: ", len(rsp.Data), " data:", rsp.Data) continue } ts, _ := Int64ToTime(tmi)