Commit 3befea7e by zihan

去掉数据

parent 3ef1e534
...@@ -132,10 +132,10 @@ class biboxApi { ...@@ -132,10 +132,10 @@ class biboxApi {
} }
totalOrderbook[symbol].bids = bids; totalOrderbook[symbol].bids = bids;
totalOrderbook[symbol].asks = asks; totalOrderbook[symbol].asks = asks;
if(symbol === 'ETH-BTC' && response.data.action === 'CANCEL'){ // if(symbol === 'ETH-BTC' && response.data.action === 'CANCEL'){
// console.log(JSON.stringify(totalOrderbook['ETH-BTC'])); // // console.log(JSON.stringify(totalOrderbook['ETH-BTC']));
console.log(JSON.stringify(response.data)); // console.log(JSON.stringify(response.data));
} // }
const ret = {data: {SELL: asks, BUY: bids}, timestamp: timeStamp, symbol: symbol} const ret = {data: {SELL: asks, BUY: bids}, timestamp: timeStamp, symbol: symbol}
callback(null,ret); callback(null,ret);
}else{ }else{
......
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