abandom block candle

This commit is contained in:
zhangkun9038@dingtalk.com 2024-12-24 14:41:37 +08:00
parent 628f24837b
commit 0647ef8fa7

View File

@ -94,9 +94,9 @@ func (rst *RestQueue) Save(cr *Core) {
logrus.Info("restLink: ", link)
rsp, err := cr.v5PublicInvoke(link)
if err != nil {
logrus.Info("cr.v5PublicInvoke err:", err)
logrus.Info("cr.v5PublicInvoke err:", err, " count: ", len(rsp.Data), " instId: ", rst.InstId, " period: ", rst.Bar, " after:", afterSec)
} else {
logrus.Info("cr.v5PublicInvoke result count:", len(rsp.Data))
logrus.Info("cr.v5PublicInvoke result count:", len(rsp.Data), " instId: ", rst.InstId, " period: ", rst.Bar, " after:", afterSec)
}
cr.SaveCandle(rst.InstId, rst.Bar, rsp, rst.Duration, rst.WithWs)
}