Commit 3951819c by zihan

bug fixed

parent 195a7e74
...@@ -71,6 +71,7 @@ class KucoinCollector extends BaseCollector{ ...@@ -71,6 +71,7 @@ class KucoinCollector extends BaseCollector{
setInterval(()=>{ setInterval(()=>{
this.api.getOrderbook(filteredSymbols[index % filteredSymbols.length], 5, IPs[index % IPs.length], depthCallback.bind(this)); this.api.getOrderbook(filteredSymbols[index % filteredSymbols.length], 5, IPs[index % IPs.length], depthCallback.bind(this));
index++;
},interval); },interval);
// this._fetchDepthByWebsocket(symbols,subscribeDepth,callback) // this._fetchDepthByWebsocket(symbols,subscribeDepth,callback)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment