Dateien hochladen nach ''
This commit is contained in:
parent
63f2456253
commit
d3ab345761
2
app.js
2
app.js
@ -49,7 +49,7 @@ wsGdax.on('message', function(data) {
|
||||
if(change[2] === '0') {
|
||||
delete orderBook.bids[change[1]];
|
||||
} else {
|
||||
pos = bs.closest(array_keys(orderBook.bids), change[2]);
|
||||
pos = bs.closest(array_keys(orderBook.bids), change[1]);
|
||||
tmp = new array();
|
||||
tmp[change[1]] = change[2];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user