上个bug貌似已经解决

This commit is contained in:
zhangkun9038@dingtalk.com 2024-12-26 16:09:19 +08:00
parent 1bf906007a
commit e74c9840af

View File

@ -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)