Commit 9c548ef4 by rongjun

bug

parent cec57670
......@@ -87,9 +87,8 @@ class biboxApi {
this._subscribeSymbol(wss, id, symbol, depth)
}
}else if(response.topic && response.topic.startsWith('/trade')){
console.log(response.data)
const timeStamp = response.data.time;
const symbol = response.data.topic.replace('/trade/','').replace('_TRADE','');
const symbol = response.topic.replace('/trade/','').replace('_TRADE','');
let asks = totalOrderbook[symbol].asks || [];
let bids = totalOrderbook[symbol].bids || [];
let updateData = [];
......
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