TradeInterface exceptions

Issue #272 new
Benjamin Cordes created an issue

Functions of tradeinterface have always ApiReponse as a return arg.

public ApiResponse getAvailableBalances(CurrencyPair pair);

getAvailableBalance should have a return argument such as amount, orders, etc. Errors in the request should be handled via exception mechanism, so that errors can be thrown in the hierarchy and handled on various levels.

Comments (4)

  1. Log in to comment