解决v5api返回报错问题

This commit is contained in:
zhangkun 2024-12-03 21:12:16 +08:00
parent d22f0cb059
commit 364c6f4f68
2 changed files with 2 additions and 0 deletions

View File

@ -77,6 +77,8 @@ func (rst *RestQueue) Save(cr *Core) {
rsp, err := cr.v5PublicInvoke(link)
if err != nil {
fmt.Println("cr.v5PublicInvoke err:", err)
} else {
fmt.Println("cr.v5PublicInvoke result count:", len(rsp.Data))
}
cr.SaveCandle(rst.InstId, rst.Bar, rsp, rst.Duration, rst.WithWs)
}

BIN
tunas

Binary file not shown.