abandom block candle
This commit is contained in:
parent
db7fe10de5
commit
628f24837b
@ -180,6 +180,10 @@ func (core *Core) SaveCandle(instId string, period string, rsp *CandleData, dura
|
||||
leng := len(rsp.Data)
|
||||
for _, v := range rsp.Data {
|
||||
tmi := ToInt64(v[0])
|
||||
last := ToInt64(v[4])
|
||||
if last == 0 {
|
||||
continue
|
||||
}
|
||||
ts, _ := Int64ToTime(tmi)
|
||||
candle := Candle{
|
||||
InstID: instId,
|
||||
|
Loading…
x
Reference in New Issue
Block a user