test
This commit is contained in:
parent
db66ceaf7b
commit
6f60e7ed5c
4
core.go
4
core.go
@ -104,9 +104,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, " count: ", len(rsp.Data), " instId: ", rst.InstId, " period: ", rst.Bar, " after:", afterSec)
|
||||
logrus.Warn("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), " instId: ", rst.InstId, " period: ", rst.Bar, " after:", afterSec, " rsp: ", rsp)
|
||||
logrus.Warn("cr.v5PublicInvoke result count:", len(rsp.Data), " instId: ", rst.InstId, " period: ", rst.Bar, " after:", afterSec, " rsp: ", rsp)
|
||||
}
|
||||
cr.SaveCandle(rst.InstId, rst.Bar, rsp, rst.Duration, rst.WithWs)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user