-
Notifications
You must be signed in to change notification settings - Fork 10
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
}
});