Commit 844de02a by zihan

bug修复

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