From 0dc5e87feb43b9b5fb3b7cd9580b260ff826b571 Mon Sep 17 00:00:00 2001 From: "zhangkun9038@dingtalk.com" Date: Wed, 15 Jan 2025 01:25:06 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=9D=E8=AF=95=E5=85=B3=E6=8E=89InvokeCandl?= =?UTF-8?q?e=EF=BC=8C=E8=A7=82=E5=AF=9F=E6=98=AF=E5=90=A6=E5=AF=B9insertPl?= =?UTF-8?q?ate=E4=BB=A5=E5=8F=8A=E6=95=B4=E4=BD=93=E6=80=A7=E8=83=BD?= =?UTF-8?q?=E6=9C=89=E5=BD=B1=E5=93=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/extent.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/extent.go b/modules/extent.go index 409c2f9..addee0a 100644 --- a/modules/extent.go +++ b/modules/extent.go @@ -462,9 +462,9 @@ func MakeMaX(cr *core.Core, cl *core.Candle, count int) (error, int) { // cdl, err := cr.GetLastCandleListOfCoin(cl.InstID, cl.Period, count, lastTime) cdl, err := GetRangeCandleSortedSet(cr, setName, count, lastTime) if err != nil { - to, _ := cr.PeriodToMinutes(cl.Period) - to = tsi + to*ToInt64(count) - InvokeCandle(cr, cl.InstID, cl.Period, tsi, to) + // to, _ := cr.PeriodToMinutes(cl.Period) + // to = tsi + to*ToInt64(count) + // InvokeCandle(cr, cl.InstID, cl.Period, tsi, to) return err, 0 }