Commit 831983e0 by zihan

改回必须有ask和bids才可以

parent 844de02a
......@@ -26,7 +26,7 @@ class BaseCollector {
* @private
*/
_publishDataForStrategy3(asks, bids, symbol, timeStamp,version) {
if(!asks.length && !bids.length){
if(!asks.length || !bids.length){
return;
}
const realSymbol = this._convertSymbolName(symbol);
......
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