Closed lukepighetti closed 4 years ago
As far as I know data
vomiting all that information is expected behaviour, and most importantly is data that you probably don't need.
Try something like this:
book.on('data', () => null);
book.on('LiveOrderbook.snapshot', msg => { // logic for orderbook-in-ready-state, if needed });
book.on('LiveOrderbook.update', msg => { // logic for checking the orderbook on every update })
Sorry it's been a while since I made this issue. From what I remember this was getting printed to the console. I wasn't printing it to the console.
Hi, we are closing out PRs + Issues as this project is being archived.
If I use
book.ticker.price.toNumber()
orordersForValue("buy", 100, false)
anywhere in my project I get an array explosion in the console for no discernible reason. Any ideas as to what's going on?