diff --git a/core/core.go b/core/core.go index f04ce6c..4f1ec7d 100644 --- a/core/core.go +++ b/core/core.go @@ -74,7 +74,10 @@ func (rst *RestQueue) Save(cr *Core) { link := "/api/v5/market/candles?instId=" + rst.InstId + "&bar=" + rst.Bar + limitSec + afterSec + beforeSec fmt.Println("restLink: ", link) - rsp, _ := cr.v5PublicInvoke(link) + rsp, err := cr.v5PublicInvoke(link) + if err != nil { + fmt.Println("cr.v5PublicInvoke err:", err) + } cr.SaveCandle(rst.InstId, rst.Bar, rsp, rst.Duration, rst.WithWs) } diff --git a/tunas b/tunas index 65a6260..3f15021 100755 Binary files a/tunas and b/tunas differ