Closed VasilySizov closed 6 years ago
bittrex = require('node-bittrex-api') bittrex.options 'verbose': true console.log 'Connecting ....' bittrex.getorderbook { market: 'USDT-BTC' depth: 10 type: 'both' }, (data, err) -> console.log data.result.buy.length console.log data.result.sell.length
results with the following regardless of what depth parameter you set:
>coffee run.coffee Connecting .... requested from https://bittrex.com/api/v1.1/public/getorderbook?market=USDT-BTC&depth=10&type=both in: 0.07s 100 100
Seems like this option might have been removed by Bittrex. Not much we can do about it, sorry.
results with the following regardless of what depth parameter you set: