gferrin / bitfinex

node.js wrapper for bitfinex cryptocurrency exchange
26 stars 20 forks source link

orderbook does not support limit_bids, limit_asks and group parameters #12

Closed dutu closed 9 years ago

dutu commented 9 years ago

orderbook method does not support the parameters limit_bids, limit_asks and group parameters. It is not possible to pass any parameters to orderbook method

gferrin commented 9 years ago

I added an options parameter to the orderbook method which has the three parameters you asked for. They default to 50, 50 and 1 respectively.

dutu commented 9 years ago

This is great. Wouldn't be better to leave the parameters out if they are not specified (which will take the default from bitfinex site rather then you hardcoding these in the wrapper)?