Xemian Xchange Api for Java, returning a default of 100 market orders For sometime I am using this java API http://xeiam.com/xchange/ for building bitcoin trading robots. Today I got a bit stuck and I wanted to see if somebody had the same issue before.

I call the order books like this:

OrderBook orderBook = exchangeMarket.getExchange().getPollingMarketDataService().
                                getOrderBook(CurrencyPair.LTC_BTC, new int[] {20});


My problem is that the orderBook object contains 100 asks and 100 bids. I just want 20. Does anybody know why this is not returning the amount I pass in the second parameter? BTW, if I try 150, it also returns 100. I don't know how to modify the amount of returned elements.
The Cryptsy driver does not support this, or any kind of argument, actually.

https://github.com/timmolter/XChange/blob/df9eb4e4d95c5bb3954b1527f585d9238514fa94/xchange-cryptsy/src/main/java/com/xeiam/xchange/cryptsy/service/polling/CryptsyPublicMarketDataService.java#L39

Neither does BTCE.

https://github.com/timmolter/XChange/blob/df9eb4e4d95c5bb3954b1527f585d9238514fa94/xchange-btce/src/main/java/com/xeiam/xchange/btce/v2/service/polling/BTCEMarketDataService.java#L55

However, the BTCE getTrades method does support a limit argument.

https://github.com/timmolter/XChange/blob/df9eb4e4d95c5bb3954b1527f585d9238514fa94/xchange-btce/src/main/java/com/xeiam/xchange/btce/v2/service/polling/BTCEMarketDataService.java#L78