上个bug貌似已经解决

This commit is contained in:
zhangkun9038@dingtalk.com 2024-12-26 13:50:09 +08:00
parent c090a76c70
commit 0ae0f4bbb2

View File

@ -179,6 +179,7 @@ func IsModOf(curInt int64, duration time.Duration) bool {
func (core *Core) SaveCandle(instId string, period string, rsp *CandleData, dura time.Duration, withWs bool) {
leng := len(rsp.Data)
// fmt.Println("saveCandle leng: ", leng, " instId: ", instId, " period: ", period)
logrus.Info("saveCandle leng: ", leng, " instId: ", instId, " period: ", period, " length of rsp.Data: ", len(rsp.Data))
for _, v := range rsp.Data {
tmi := ToInt64(v[0])
last := ToInt64(v[4])