Commit a418d46b by zihan

只订阅需要的交易对

parent 3b13bdc4
......@@ -31,7 +31,9 @@ class BiboxCollector extends BaseCollector{
const symbolDetails = data.data;
const symbolMap = {};
for(let detail of symbolDetails){
symbolMap[detail.symbol] = detail;
if(baseCurrencies.includes(detail.coinTypePair)){
symbolMap[detail.symbol] = detail;
}
}
callback(null,symbolMap);
}
......
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