Skip to content

Balance info

guillaumedebavelaere edited this page Oct 19, 2017 · 3 revisions

To get the balance info of an account:

linkedBrokerAccount.refreshBalance(new TradeItCallback<TradeItLinkedBrokerAccountParcelable>() {
    @Override
    public void onSuccess(TradeItLinkedBrokerAccountParcelable linkedBrokerAccount) {
        // refreshes balance successful, to get the balance:
        linkedBrokerAccount.getBalance()
    }
    @Override
    public void onError(TradeItErrorResult error) {
       // an error occured
    }
});
Clone this wiki locally