Commit 0e50d3b7 by zihan

日志调整

parent 328eb104
......@@ -132,7 +132,7 @@ class biboxApi {
totalOrderbook[symbol].bids = bids;
totalOrderbook[symbol].asks = asks;
if(symbol === 'ETH-BTC'){
console.log(JSON.stringify(totalOrderbook['ETH-BTC']));
// console.log(JSON.stringify(totalOrderbook['ETH-BTC']));
console.log(JSON.stringify(response.data));
}
const ret = {data: {SELL: asks, BUY: bids}, timestamp: timeStamp, symbol: symbol}
......@@ -347,7 +347,7 @@ class biboxApi {
this._request("POST","/v1/orderpending","orderpending/pendingHistoryList",params,callback);
}
getOrderbook(symbol,depth,bindIP,callback){
this._publicRequest("/v1/open/orders",{"symbol":symbol,"limit":20},callback,bindIP);
this._publicRequest("/v1/open/orders",{"symbol":symbol},callback,bindIP);
}
}
......
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