From b8e283e55da842ad597afc5dd938297e1b23648a Mon Sep 17 00:00:00 2001 From: "zhangkun9038@dingtalk.com" Date: Sun, 19 Jan 2025 04:51:30 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=92=E6=9F=A52D=E5=91=A8=E6=9C=9FsortedSet?= =?UTF-8?q?=E5=91=A8=E6=9C=9F=E9=97=B4=E9=9A=94=E4=B8=8D=E7=BB=9F=E4=B8=80?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- candle.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/candle.go b/candle.go index 258bfdf..4384452 100644 --- a/candle.go +++ b/candle.go @@ -197,8 +197,8 @@ func (core *Core) SaveCandle(instId string, period string, rsp *CandleData, dura if cs.Seg == period { curSegStartTime = cs.StartTime + break } - break } logrus.Warn("curSegStartTime:", curSegStartTime) curTm, _ := time.ParseInLocation("2006-01-02 15:04.000", curSegStartTime, time.Local)